ARM/Thumb, setjmp, and gcc 3.0

J. Johnston jjohnstn@cygnus.com
Wed Jun 13 09:11:00 GMT 2001


Joel Sherrill wrote:
> 
> I am trying to test gcc pre-release snapshots.  Is there a patch
> for the arm setjmp.S that I need for thumb?
> 

See: http://sources.redhat.com/ml/newlib-cvs/2001-q1/msg00043.html

-- Jeff J.

> /usr3/ftp_archive/gnu/gcc/ss/b1/b-arm-elf/gcc/xgcc
> -B/usr3/ftp_archive/gnu/gcc/s
> s/b1/b-arm-elf/gcc/ -nostdinc
> -B/usr3/ftp_archive/gnu/gcc/ss/b1/b-arm-elf/arm-el
> f/newlib/ -isystem
> /usr3/ftp_archive/gnu/gcc/ss/b1/b-arm-elf/arm-elf/newlib/targ
> -include -isystem
> /usr3/ftp_archive/gnu/gcc/ss/b1/gcc-3.0-20010611/newlib/libc/i
> nclude -B/usr1/tmp-tools/arm-elf/bin/ -B/usr1/tmp-tools/arm-elf/lib/ -isystem
> /u
> sr1/tmp-tools/arm-elf/include -DPACKAGE=\"newlib\" -DVERSION=\"1.9.0\"  -I.
> -I..
> /../../../../../../gcc-3.0-20010611/newlib/libc/sys/arm  -O2 -DABORT_PROVIDED
> -D
> HAVE_GETTIMEOFDAY -DARM_RDI_MONITOR -I./../../../targ-include
> -I./../../../../..
> /../../gcc-3.0-20010611/newlib/libc/sys/arm/../../../libc/include -fno-builtin
>     -g -O2  -mthumb -c
> ../../../../../../../gcc-3.0-20010611/newlib/libc/sys/arm
> /setjmp.S
> ../../../../../../../gcc-3.0-20010611/newlib/libc/sys/arm/setjmp.S: Assembler
> me
> ssages:
> ../../../../../../../gcc-3.0-20010611/newlib/libc/sys/arm/setjmp.S:97: Error:
> r1
> 5 not allowed here
> ../../../../../../../gcc-3.0-20010611/newlib/libc/sys/arm/setjmp.S:117: Error:
> r
> 15 not allowed here
> 
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel@OARcorp.com                 On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985



More information about the Newlib mailing list