mips assembler may generate relocs at the wrong place

Alexandre Oliva aoliva@redhat.com
Thu Aug 15 18:17:00 GMT 2002


This patch addresses two problems in the mips assembler:

- it would sometimes generate relocations at the wrong place, when we
  happened to switch from one frag to the next in the middle of the
  expansion of a macro such as jalr or the expansion of a .cpsetup.

- .cpsetup wouldn't parse the third argument using the generic
  expression parser, so we couldn't reference numeric labels with the
  `b' or `f' suffixes.

I've tested this with --target=mips64-elf on an athlon-pc-linux-gnu,
approved by Eric Christopher.  I'm checking it in.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-mips-bad-relocs.patch
Type: text/x-patch
Size: 3209 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020815/7f30cc31/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