The inline assembly does not work when building for ARM in thumb mode. The simple
patch is addition one more condition to checks...
Description
Details
- Due Date
- Jan 31 2012, 1:00 AM
- Version
- 1.4.10
Related Objects
Event Timeline
Please give me short explanation what the thumb mode is and under what
circumstances it is used.
We don't want to introduce a regression, thus some caution is required.
Thanks for asking. ARM Thumb is a separate instruction set within the ARM CPU. The
charachteristics are that each instruction is 16bit (instead of 32bit of a classical RISC
design). The basic idea is that with smaller instruction size, the binaries are smaller, the
"i-cache" magically has more room for them...
Thumb instructions get enabled when -mthumb is passed to the gcc and the preprocessor will
set the the variable we are checking for.
If you need more information, e.g. a link to the place in gcc where this variable is set I'm
happy to provide that.
Fixed but not tested with commit 6daa9db; to be released in 1.4.12.
I also fixed the same thing in libgcrypt master.