This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18385] code contains 68040 instructions
- From: "bernhard dot walle at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 11:22:04 -0000
- Subject: [Bug target/18385] code contains 68040 instructions
- References: <20041109000734.18385.bernhard.walle@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bernhard dot walle at gmx dot de 2004-12-14 11:21 -------
It's
m68k-elf-gcc -o test.out test.o -lm -m68000 -Wl,-Tmvme162.ld -Wl,-v
collect2-Version 3.4.3 (68k, Motorola syntax)
/opt/m68k/lib/gcc/m68k-elf/3.4.3/../../../../m68k-elf/bin/ld -o test.out
/opt/m68k/lib/gcc/m68k-elf/3.4.3/crtbegin.o
-L/opt/m68k/lib/gcc/m68k-elf/3.4.3/m68000 -L/opt/m68k/lib/gcc/m68k-elf/3.4.3
-L/opt/m68k/lib/gcc/m68k-elf/3.4.3/../../../../m68k-elf/lib/m68000
-L/opt/m68k/lib/gcc/m68k-elf/3.4.3/../../../../m68k-elf/lib test.o -lm
-Tmvme162.ld -v -lgcc -lc -lgcc /opt/m68k/lib/gcc/m68k-elf/3.4.3/crtend.o
the problematic code is in /opt/m68k/lib/gcc/m68k-elf/3.4.3/crtend.o. The
attached patch for gcc (sorry, I thought I attached it) fixes the proxlem for me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18385