mips gas (n64) generates UNDEF symtable entry for $fcc<N>
Alexandre Oliva
aoliva@redhat.com
Fri Oct 18 13:54:00 GMT 2002
Since the n64 bfd doesn't consider `$' a prefix for local symbols,
references to say `$fcc1' are registered in the symbol table by
operand() as global symbols before we get a chance to reinterpret them
as condition code registers, and then they end up making it to the
symbol table of the object file as undefined symbols, causing link
problems later. This patch corrects this by registering these names
as register names upfront, like we do for so many other register
names. No regressions on athlon-pc-linux-gnu-x-mips-elf. Ok to
install?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-gas-fcc-undef.patch
Type: text/x-patch
Size: 1171 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20021018/3f91dd16/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Binutils
mailing list