bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13880] -Bsymbolic fails to handle protected function pointer


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/13880] -Bsymbolic fails to handle protected function pointer
Date: Tue, 20 Mar 2012 18:16:50 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2012-03-20 18:16:50 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2012-03-20 18:16:39

Modified files:
    bfd            : ChangeLog elf32-i386.c elf64-x86-64.c 
    ld/testsuite   : ChangeLog 
    ld/testsuite/ld-i386: i386.exp 
    ld/testsuite/ld-x86-64: x86-64.exp 
Added files:
    ld/testsuite/ld-i386: protected4.d protected4.s protected5.d 
                          protected5.s 
    ld/testsuite/ld-x86-64: protected4.d protected4.s protected5.d 
                            protected5.s 

Log message:
    Handle relocation against protected function for -Bsymbolic

    bfd/

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

    PR ld/13880
    * elf32-i386.c (elf_i386_relocate_section): Don't issue an error
    for R_386_GOTOFF relocation against protected function if
    SYMBOLIC_BIND is true.

    * elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an
    error for R_X86_64_GOTOFF64 relocation against protected function
    when building executable or SYMBOLIC_BIND is true.

    ld/testsuite/

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

    PR ld/13880
    * ld-i386/i386.exp: Run protected4 and protected5.
    * ld-x86-64/x86-64.exp: Likewise.

    * ld-i386/protected4.d: New.
    * ld-i386/protected4.s: Likewise.
    * ld-i386/protected5.d: Likewise.
    * ld-i386/protected5.s: Likewise.
    * ld-x86-64/protected4.d: Likewise.
    * ld-x86-64/protected4.s: Likewise.
    * ld-x86-64/protected5.d: Likewise.
    * ld-x86-64/protected5.s: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5632&r2=1.5633
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-i386.c.diff?cvsroot=src&r1=1.268&r2=1.269
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-x86-64.c.diff?cvsroot=src&r1=1.253&r2=1.254
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1505&r2=1.1506
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/protected4.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/protected4.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/protected5.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/protected5.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/i386.exp.diff?cvsroot=src&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/protected4.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/protected4.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/protected5.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/protected5.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/x86-64.exp.diff?cvsroot=src&r1=1.39&r2=1.40

-- 
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]