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 /newlib/libc/sys | |
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 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/arm/trap.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/arm/trap.S b/newlib/libc/sys/arm/trap.S index 21b6937f9..681b3dbe0 100644 --- a/newlib/libc/sys/arm/trap.S +++ b/newlib/libc/sys/arm/trap.S @@ -1,5 +1,5 @@ /* Run-time exception support */ -#if !defined(__thumb2__) +#ifndef __ARM_EABI__ #include "swi.h" /* .text is used instead of .section .text so it works with arm-aout too. */ |