bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12366] assertion failure with STT_GNU_IFUNC symbols on x86_64


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/12366] assertion failure with STT_GNU_IFUNC symbols on x86_64
Date: Thu, 6 Jan 2011 18:45:42 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-01-06 18:45:09 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-01-06 18:45:05

Modified files:
    bfd            : ChangeLog elf-ifunc.c elf32-i386.c 
                     elf64-x86-64.c 
    ld/testsuite   : ChangeLog 
    ld/testsuite/ld-ifunc: ifunc-10-i386.s ifunc-10-x86-64.s 
                           ifunc-11-i386.s ifunc-11-x86-64.s 
Added files:
    ld/testsuite/ld-ifunc: ifunc-12-i386.d ifunc-12-i386.s 
                           ifunc-12-x86-64.d ifunc-12-x86-64.s 
                           ifunc-13-i386.d ifunc-13-x86-64.d 
                           ifunc-13a-i386.s ifunc-13a-x86-64.s 
                           ifunc-13b-i386.s ifunc-13b-x86-64.s 

Log message:
    Handle STT_GNU_IFUNC symols when building shared library.

    bfd/

    2012-01-06  H.J. Lu  <address@hidden>

    PR ld/12366
    PR ld/12371
    * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
    handle symbols marked with regular reference, but not non-GOT
    reference when building shared library.

    * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
    local and global STT_GNU_IFUNC symols when building shared
    library.
    * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.

    ld/testsuite/

    2012-01-06  H.J. Lu  <address@hidden>

    PR ld/12366
    PR ld/12371
    * ld-ifunc/ifunc-10-i386.s: Add more tests.
    * ld-ifunc/ifunc-10-x86-64.s: Likewise.
    * ld-ifunc/ifunc-11-i386.s: Likewise.
    * ld-ifunc/ifunc-11-x86-64.s: Likewise.

    * ld-ifunc/ifunc-12-i386.d: New.
    * ld-ifunc/ifunc-12-i386.s: Likewise.
    * ld-ifunc/ifunc-12-x86-64.d: Likewise.
    * ld-ifunc/ifunc-12-x86-64.s: Likewise.
    * ld-ifunc/ifunc-13-i386.d: Likewise.
    * ld-ifunc/ifunc-13-x86-64.d: Likewise.
    * ld-ifunc/ifunc-13a-i386.s: Likewise.
    * ld-ifunc/ifunc-13a-x86-64.s: Likewise.
    * ld-ifunc/ifunc-13b-i386.s: Likewise.
    * ld-ifunc/ifunc-13b-x86-64.s: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5223&r2=1.5224
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-ifunc.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-i386.c.diff?cvsroot=src&r1=1.241&r2=1.242
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-x86-64.c.diff?cvsroot=src&r1=1.204&r2=1.205
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1348&r2=1.1349
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-i386.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-i386.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-x86-64.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-x86-64.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13-i386.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13-x86-64.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13a-i386.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13b-i386.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13b-x86-64.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-i386.s.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-x86-64.s.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-i386.s.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-x86-64.s.diff?cvsroot=src&r1=1.1&r2=1.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]