diff options
Diffstat (limited to 'newlib/libc/sys/arm/trap.S')
-rw-r--r-- | newlib/libc/sys/arm/trap.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/trap.S b/newlib/libc/sys/arm/trap.S index 328fabca5..21b6937f9 100644 --- a/newlib/libc/sys/arm/trap.S +++ b/newlib/libc/sys/arm/trap.S @@ -1,4 +1,5 @@ /* Run-time exception support */ +#if !defined(__thumb2__) #include "swi.h" /* .text is used instead of .section .text so it works with arm-aout too. */ @@ -91,3 +92,4 @@ __rt_stkovf_split_big: @ We now know how much extra stack the function requires. @ Terminate the program for the moment: swi SWI_Exit +#endif |