bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/11791] Garbage collection for STT_GNU_IFUNC symbols


From: hjl dot tools at gmail dot com
Subject: [Bug ld/11791] Garbage collection for STT_GNU_IFUNC symbols
Date: 13 Jul 2010 17:32:04 -0000

------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-07-13 
16:59 -------
Subject: Bug 11791

CVSROOT:        /cvs/src
Module name:    src
Changes by:     address@hidden  2010-07-13 16:59:14

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

Log message:
        Support garbage collection against STT_GNU_IFUNC symbols.
        
        bfd/
        
        2010-07-13  H.J. Lu  <address@hidden>
        
        PR ld/11791
        * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support
        garbage collection against STT_GNU_IFUNC symbols.
        
        * elf32-i386.c (elf_i386_get_local_sym_hash): Don't set
        elf.plt.offset/elf.got.offset to -1.
        (elf_i386_tls_transition): Skip TLS transition for functions.
        (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols.
        
        * elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set
        elf.plt.offset/elf.got.offset to -1.
        (elf64_x86_64_tls_transition): Skip TLS transition for functions.
        (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols.
        
        ld/testsuite/
        
        2010-07-13  H.J. Lu  <address@hidden>
        
        PR ld/11791
        * ld-ifunc/ifunc-10-i386.d: New.
        * ld-ifunc/ifunc-10-i386.s: Likewise.
        * ld-ifunc/ifunc-10-x86-64.d: Likewise.
        * ld-ifunc/ifunc-10-x86-64.s: Likewise.
        * ld-ifunc/ifunc-11-i386.d: Likewise.
        * ld-ifunc/ifunc-11-i386.s: Likewise.
        * ld-ifunc/ifunc-11-x86-64.d: Likewise.
        * ld-ifunc/ifunc-11-x86-64.s: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5071&r2=1.5072
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-ifunc.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-i386.c.diff?cvsroot=src&r1=1.234&r2=1.235
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-x86-64.c.diff?cvsroot=src&r1=1.195&r2=1.196
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1259&r2=1.1260
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-i386.d.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=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-x86-64.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-10-x86-64.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-i386.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-i386.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-x86-64.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-ifunc/ifunc-11-x86-64.s.diff?cvsroot=src&r1=NONE&r2=1.1


------- Additional Comments From hjl dot tools at gmail dot com  2010-07-13 
17:32 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl dot tools at gmail dot
                   |                            |com
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

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