bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/3351] aborting at elflink.c line 6778 in elf_link_check_versione


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/3351] aborting at elflink.c line 6778 in elf_link_check_versioned_symbol
Date: Tue, 03 Jul 2012 14:44:42 +0000

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

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2012-07-03 14:44:42 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2012-07-03 14:44:35

Modified files:
    bfd            : ChangeLog elflink.c 
    ld/testsuite   : ChangeLog 
Added files:
    ld/testsuite/ld-elf: indirect.exp indirect1a.c indirect1b.c 
                         indirect1c.c indirect2.c indirect3.out 
                         indirect3a.c indirect3b.c indirect3c.c 
                         indirect4.out indirect4a.c indirect4b.c 
                         indirect4c.c 

Log message:
    Properly handle indirect symbols

    2012-07-03  H.J. Lu  <address@hidden>

    PR ld/3351
    * elflink.c (_bfd_elf_update_dynamic_flags): New.
    (_bfd_elf_merge_symbol): Update both real and indirect symbol
    dynamic flags.
    (_bfd_elf_add_default_symbol): Make the real symbol dynamic if
    the indirect symbol is defined in a shared library.
    (elf_link_add_object_symbols): Likewise.  If the indirect
    symbol has been forced local, don't make the real symbol
    dynamic.
    (elf_link_check_versioned_symbol): Check indirect symbol.
    (elf_link_output_extsym): Use real symbol definition when
    reporting indirect symbol error.  Check version info for
    dynamic versioned symbol.

    2012-07-03  H.J. Lu  <address@hidden>

    PR ld/3351
    * ld-elf/indirect.exp: New file.
    * ld-elf/indirect1a.c: Likewise.
    * ld-elf/indirect1b.c: Likewise.
    * ld-elf/indirect1c.c: Likewise.
    * ld-elf/indirect2.c: Likewise.
    * ld-elf/indirect3.out: Likewise.
    * ld-elf/indirect3a.c: Likewise.
    * ld-elf/indirect3b.c: Likewise.
    * ld-elf/indirect3c.c: Likewise.
    * ld-elf/indirect4.out: Likewise.
    * ld-elf/indirect4a.c: Likewise.
    * ld-elf/indirect4b.c: Likewise.
    * ld-elf/indirect4c.c: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5743&r2=1.5744
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.448&r2=1.449
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1574&r2=1.1575
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect1a.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect1b.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect1c.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect2.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect3.out.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect3a.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect3b.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect3c.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect4.out.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect4a.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect4b.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/indirect4c.c.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 on the CC list for the bug.



reply via email to

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