This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ld/12851] --gc-sections doesn't work on note sections


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

--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-06-09 04:52:20 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    hjl@sourceware.org    2011-06-09 04:52:15

Modified files:
    bfd            : ChangeLog elflink.c 
    ld/testsuite   : ChangeLog 
Added files:
    ld/testsuite/ld-elf: pr12851.d pr12851.s 

Log message:
    Check relocations in note sections for --gc-sections.

    bfd/

    2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>

    PR ld/12851
    * elflink.c (elf_gc_sweep): Don't check SHT_NOTE sections here.
    (bfd_elf_gc_sections): Also check SHT_NOTE sections.

    ld/testsuite/

    2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>

    PR ld/12851
    * ld-elf/pr12851.d: New.
    * ld-elf/pr12851.s: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5375&r2=1.5376
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.407&r2=1.408
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1420&r2=1.1421
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr12851.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr12851.s.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]