diff options
author | Richard Henderson <rth@twiddle.net> | 2013-02-13 20:32:14 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-02-28 00:18:30 -0800 |
commit | 365261c37ff9156372a32f4ab3f07dcfbd72217e (patch) | |
tree | 381ad467184a51527351b37cca2fc096755220d2 /ports/sysdeps/arm/crtn.S | |
parent | 6ccd0107f3303732409aadffc3bac0e741f1eac4 (diff) | |
download | glibc-365261c37ff9156372a32f4ab3f07dcfbd72217e.tar.gz glibc-365261c37ff9156372a32f4ab3f07dcfbd72217e.tar.xz glibc-365261c37ff9156372a32f4ab3f07dcfbd72217e.zip |
arm: Mark assembly files that will not use thumb mode
Some routines are written with complex LDM/STM insns that cannot be used in thumb mode, or are highly conditional requiring excessive IT insns. When a future patch goes in to enable thumb2 by default, this marker will be used to override that default.
Diffstat (limited to 'ports/sysdeps/arm/crtn.S')
-rw-r--r-- | ports/sysdeps/arm/crtn.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/sysdeps/arm/crtn.S b/ports/sysdeps/arm/crtn.S index 5ff3661f18..a01eb01397 100644 --- a/ports/sysdeps/arm/crtn.S +++ b/ports/sysdeps/arm/crtn.S @@ -33,6 +33,8 @@ License along with the GNU C Library. If not, see <http://www.gnu.org/licenses/>. */ +/* Always build .init and .fini sections in ARM mode. */ +#define NO_THUMB #include <sysdep.h> /* crtn.S puts function epilogues in the .init and .fini sections |