bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12654] R_386_TLS_LDO_32 relocations aren't handled properly with


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/12654] R_386_TLS_LDO_32 relocations aren't handled properly with -pie
Date: Fri, 8 Apr 2011 16:14:58 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-04-08 16:14:53 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-04-08 16:14:49

Modified files:
    bfd            : ChangeLog elf32-i386.c 
    ld/testsuite   : ChangeLog 
    ld/testsuite/ld-i386: i386.exp 
Added files:
    ld/testsuite/ld-i386: tlspie2.d tlspie2.s 

Log message:
    Properly handle R_386_TLS_LDO_32 for PIE.

    bfd/

    2011-04-08  H.J. Lu  <address@hidden>

    PR ld/12654
    * elf32-i386.c (elf_i386_relocate_section): Check !executable
    instead of shared for R_386_TLS_LDO_32.

    ld/testsuite/

    2011-04-08  H.J. Lu  <address@hidden>

    PR ld/12654
    * ld-i386/i386.exp: Run tlspie2.

    * ld-i386/tlspie2.d: New.
    * ld-i386/tlspie2.s: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5293&r2=1.5294
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-i386.c.diff?cvsroot=src&r1=1.243&r2=1.244
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1382&r2=1.1383
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/tlspie2.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/tlspie2.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.36&r2=1.37

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