libstdc++/9697: invalid instruction

Mark_Hamilton@3com.com Mark_Hamilton@3com.com
Mon Feb 17 22:04:00 GMT 2003


I may have fixed my own bug. Is someone interested in verifying my fix. I'm
not much of an assembly person. I've attached the files that I modified. To
summarize the 68000 and 5200 processors do not support bsr.l. That I've
verified from the appropriate manuals. The gcc m68k.md and m68k.h didn't
take these into account. I modified m68k.md and m68k.h from the gcc-3.2.2
tar ball to check for 68000 and 5200. If so then jsr is used instead of
bsr.l. The jsr instruction take an absolute value where as the bsr takes a
relative address. The m68k.h needs to use the appropriate assembly for both
PIC and non-PIC code.  I posted a bug on this 9697.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p

r=9697





More information about the Gcc-bugs mailing list