[Patch, microblaze, gas, bfd] PR/14736 Correct adjustment of global symbols after relax

David Holsgrove david.holsgrove@xilinx.com
Thu Nov 22 12:05:00 GMT 2012

Fixup symbol sizes after linker relaxation

Correct an off-by one when comparing relaxation addresses
with symbol start.

Also addresses PR/14736 where clang gave warning;
use of unary operator that may be intended as
compound assignment (-=)


 2012-11-22  Edgar E. Iglesias <edgar.iglesias@gmail.com>

          * elf32-microblaze.c (calc_size_fixup): New
            (calc_fixup): Use calc_size_fixup to adjust
            object size


 2012-11-22  David Holsgrove  <david.holsgrove@xilinx.com>

          * gas/microblaze/relax_size.exp: New file - test
            object size after linker relaxation
          * gas/microblaze/relax_size.s: Likewise
          * gas/microblaze/relax_size.elf: Likewise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-bfd-bfd-elf32-microblaze.c-Correct-adjustment-of-glo.patch
Type: application/octet-stream
Size: 7175 bytes
Desc: 0002-bfd-bfd-elf32-microblaze.c-Correct-adjustment-of-glo.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20121122/9f671263/attachment.obj>

More information about the Binutils mailing list