diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2019-04-10 18:04:13 +0300 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2019-04-11 17:20:21 +0300 |
commit | cc430406ac09d99570b5218668f2bb00371ae983 (patch) | |
tree | 597da24312e919d347534bf3ddf61658decb1550 /libgloss/arm | |
parent | 630808d2a2865634df3f54cec403a058511596e7 (diff) |
Include code in trap.S for APCS only.
The code in trap.S is to support the old APCS chunked stack variant,
which dates back to the Acorn days, so put it under #ifndef
__ARM_EABI__.
* libgloss/arm/trap.S: Use __ARM_EABI rather than PREFER_THUMB.
* newlib/libc/sys/arm/trap.S: Use __ARM_EABI rather than
__thumb2__.
Diffstat (limited to 'libgloss/arm')
-rw-r--r-- | libgloss/arm/trap.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/arm/trap.S b/libgloss/arm/trap.S index d854b57bb..845ad0173 100644 --- a/libgloss/arm/trap.S +++ b/libgloss/arm/trap.S @@ -1,6 +1,6 @@ #include "arm.h" /* Run-time exception support */ -#ifndef PREFER_THUMB +#ifndef __ARM_EABI__ #include "swi.h" /* .text is used instead of .section .text so it works with arm-aout too. */ |