bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13195] -ffunction-sections -Wl,--gc-sections failure with symbol


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/13195] -ffunction-sections -Wl,--gc-sections failure with symbol versioning
Date: Wed, 05 Oct 2011 16:40:05 +0000

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-10-05 16:40:05 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Branch:     binutils-2_22-branch
Changes by:    address@hidden    2011-10-05 16:39:56

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

Log message:
    Fix --gc-sections failure with symbol versioning.

    bfd/

    2011-09-29  H.J. Lu  <address@hidden>

    PR ld/13195
    * elflink.c (_bfd_elf_merge_symbol): Don't set dynamic_def when
    clearing def_dynamic.
    (elf_link_add_object_symbols): Likewise.  Set dynamic_def when
    setting def_dynamic.
    (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is
    versioned.

    ld/testsuite/

    2011-09-29  H.J. Lu  <address@hidden>

    PR ld/13195
    * ld-elf/elf.exp: Add a C link testcase for PR ld/13195.

    * ld-elf/pr13195.c: New.
    * ld-elf/pr13195.d: Likewise.
    * ld-elf/pr13195.s: Likewise.
    * ld-elf/pr13195.t: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1460&r2=1.1460.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13195.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13195.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13195.s.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13195.t.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/elf.exp.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.28&r2=1.28.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.2&r2=1.5473.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.420.2.1&r2=1.420.2.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]