[PATCH ARC 2]: Local symbols relocations cleanup

Cupertino Miranda Cupertino.Miranda@synopsys.com
Thu Feb 25 10:58:00 GMT 2016


Hi everyone,

This patch changes the assembler and linker not to output so many local symbols.
Does this by resolving them to section + addend instead.

Best regards,
Cupertino

bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>
                * elf32-arc.c (elf_arc_relocate_section): Added rules to fix the
        relocation addend when sections get merged.


gas/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>
Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
                * config/tc-arc.c (arc_extra_reloc): Change size to 0.
                (tc_arc_fix_adjustable): Changed default return value to 1.

gas/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>
                * testsuite/gas/arc/j.d: Updated expected symbol
                * testsuite/gas/arc/jl.d: Likewise
                * testsuite/gas/arc/relax-avoid1.d: Likewise
                * testsuite/gas/arc/st.d: Likewise

ld/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>
                * testsuite/ld-elf/merge.d: Removed xfail for ARC.
                * testsuite/ld-elf/merge2.d: Likewise.
                * testsuite/ld-elf/merge3.d: Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: symbols.patch
Type: application/octet-stream
Size: 8767 bytes
Desc: symbols.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20160225/3571cc1e/attachment.obj>


More information about the Binutils mailing list