This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
arm-rtems/elf -mthumb bad code generated
- To: gcc-bugs at gcc dot gnu dot org
- Subject: arm-rtems/elf -mthumb bad code generated
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Mon, 12 Feb 2001 11:43:01 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
CVS gcc, binutils, newlib
I think this is the bad assembly based on the error messages
@ Inlined umul_ppmm
mov r1, r2, lsr #16
mov ip, r3, lsr #16
This is the command line to get the preprocessed output.
cd /opt/test-gcc/build/b-gcc/gcc
/opt/test-gcc/build/b-gcc/gcc/xgcc -B/opt/test-gcc/build/b-gcc/gcc/ -nostdinc
-B
/opt/test-gcc/build/b-gcc/arm-rtems/newlib/ -isystem
/opt/test-gcc/build/b-gcc/a
rm-rtems/newlib/targ-include -isystem
/opt/test-gcc/cvs-objs/gcc/newlib/libc/inc
lude -B/usr2/test-gcc/install/arm-rtems/bin/
-B/usr2/test-gcc/install/arm-rtems/
lib/ -isystem /usr2/test-gcc/install/arm-rtems/include -O2
-I../../../cvs-objs/g
cc/gcc/../newlib/libc/sys/rtems/include -DCROSS_COMPILE -DIN_GCC -W -Wall
-Ww
rite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-Dinhi
bit_libc -fno-inline -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEED
ED -Dinhibit_libc -I. -I. -I../../../cvs-objs/gcc/gcc
-I../../../cvs-objs/gcc/gc
c/. -I../../../cvs-objs/gcc/gcc/config -I../../../cvs-objs/gcc/gcc/../include
-
mthumb -DL_muldi3 -c ../../../cvs-objs/gcc/gcc/libgcc2.c -E >l.c
This is the command line to reproduce the error:
/opt/test-gcc/build/b-gcc/gcc/xgcc -v -B/opt/test-gcc/build/b-gcc/gcc/ \
-B/usr2/test-gcc/install/arm-rtems/bin/ \
-mthumb l.c
--
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
l.c.gz