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: Wed, 25 May 2011 17:43:06 +0000

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

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-05-25 17:41:40 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Branch:     binutils-2_21-branch
Changes by:    address@hidden    2011-05-25 17:41:35

Modified files:
    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 
    bfd            : ChangeLog elf-ifunc.c elf32-i386.c 
                     elf64-x86-64.c 
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-05-25  H.J. Lu  <address@hidden>

    Backport from mainline
    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-05-25  H.J. Lu  <address@hidden>

    Backport from mainline
    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/ld/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1322.2.11&r2=1.1322.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-i386.d.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-i386.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-x86-64.d.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-12-x86-64.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13-i386.d.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13-x86-64.d.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13a-i386.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13b-i386.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-13b-x86-64.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-i386.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-x86-64.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-i386.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-x86-64.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.5180.2.33&r2=1.5180.2.34
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-ifunc.c.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.4&r2=1.4.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-i386.c.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.241.2.1&r2=1.241.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-x86-64.c.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.202.2.1&r2=1.202.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]