https://sourceware.org/bugzilla/show_bug.cgi?id=18169

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <h...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd53a53af486c6e5ab88b7f64342244392be1f1f

commit bd53a53af486c6e5ab88b7f64342244392be1f1f
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Mon Mar 30 04:40:33 2015 -0700

    Properly set sh_info for .rela.plt/rel.plt section

    Since .rela.plt/rel.plt section may contain relocations against .got.plt
    section, we set sh_info for .rela.plt/rel.plt section to .got.plt section
    index if target has .got.plt section.

    bfd/

        PR ld/18169
        * elf-bfd.h (elf_backend_data): Add get_reloc_section.
        (_bfd_elf_get_reloc_section): New.
        * elf.c (_bfd_elf_get_reloc_section): Likewise.
        (assign_section_numbers): Call get_reloc_section to look up the
        section the relocs apply.
        * elfxx-target.h (elf_backend_get_reloc_section): Likewise.
        (elfNN_bed): Initialize get_reloc_section with
        elf_backend_get_reloc_section.

    ld/testsuite/

        PR ld/18169
        * ld-elf/linkinfo1a.d: Updated.
        * ld-elf/linkinfo1b.d: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to