diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-02-07 18:44:54 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-02-07 18:44:54 +0000 |
commit | 9bbe6d5d283de104216238d684e0a46506326706 (patch) | |
tree | be201e8f20488b3c81392d55d2337acd4948b25f /newlib/libc/sys/arm/trap.S | |
parent | 03a49a00ab2239e769c61592ea946d151ea95114 (diff) | |
download | cygnal-9bbe6d5d283de104216238d684e0a46506326706.tar.gz cygnal-9bbe6d5d283de104216238d684e0a46506326706.tar.bz2 cygnal-9bbe6d5d283de104216238d684e0a46506326706.zip |
2006-02-07 Paul Brook <paul@codesourcery.com>
* libc/machine/arm/setjmp.S: Add Thumb-2 support.
* libc/sys/arm/crt0.S: Add Thumb-2 startup code.
* libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
* libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
* libc/sys/arm/trap.S: Disable for Thumb-2.
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 |