« Return to Thread: [Bug binutils/10337] New: strip breaks statically linked binaries with .rela.plt section

[Bug binutils/10337] strip breaks statically linked binaries with .rela.plt section

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View in Thread


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-06-27 16:07 -------
Subject: Bug 10337

CVSROOT: /cvs/src
Module name: src
Changes by: hjl@... 2009-06-27 16:07:10

Modified files:
        bfd            : ChangeLog elf.c
        ld/testsuite   : ChangeLog
Added files:
        ld/testsuite/ld-ifunc: binutils.exp

Log message:
        bfd/
       
        2009-06-27  H.J. Lu  <hongjiu.lu@...>
       
        PR ld/10337
        * elf.c (bfd_section_from_shdr): Don't change sh_link for
        SHT_REL/SHT_RELA sections on executable nor shared library.
        Treat SHT_REL/SHT_RELA sections with sh_link set to SHN_UNDEF
        as a normal section.
       
        ld/testsuite/
       
        2009-06-27  H.J. Lu  <hongjiu.lu@...>
       
        PR ld/10337
        * ld-ifunc/binutils.exp: New.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4673&r2=1.4674
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.482&r2=1.483
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1117&r2=1.1118
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/binutils.exp.diff?cvsroot=src&r1=NONE&r2=1.1



--


http://sourceware.org/bugzilla/show_bug.cgi?id=10337

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

 « Return to Thread: [Bug binutils/10337] New: strip breaks statically linked binaries with .rela.plt section