[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13476] New: Incorrect TLS relocations created in DSOs on h
From: |
skrll at netbsd dot org |
Subject: |
[Bug binutils/13476] New: Incorrect TLS relocations created in DSOs on hppa |
Date: |
Wed, 07 Dec 2011 13:29:58 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13476
Bug #: 13476
Summary: Incorrect TLS relocations created in DSOs on hppa
Product: binutils
Version: 2.23 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
Created attachment 6092
--> http://sourceware.org/bugzilla/attachment.cgi?id=6092
Example code for DSO
This commit
http://sourceware.org/ml/binutils/2010-01/msg00594.html
now means that calls to __tls_get_addr are incorrect as the relocation is no
longer adjusted to be relative to the GOT.
Looking at the final link object from, e.g.
cc -c -O2 -fPIC -o h_tls.o h_tls.c
cc -shared -o dso.so h_tls.o
note the addil/ldo sequence is beyond the GOT.
000004f4 <testf>:
4f4: 6b c2 3f d9 stw rp,-14(sp)
4f8: 6f c4 01 00 stw,ma r4,80(sp)
4fc: 6b c3 3f 09 stw r3,-7c(sp)
500: 08 1a 02 43 copy r26,r3
504: 2a 60 20 00 addil L%1000,r19,r1
508: 34 3a 00 70 ldo 38(r1),r26
--
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.
- [Bug binutils/13476] New: Incorrect TLS relocations created in DSOs on hppa,
skrll at netbsd dot org <=
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, vapier at gentoo dot org, 2011/12/07
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, danglin at gcc dot gnu.org, 2011/12/07
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, danglin at gcc dot gnu.org, 2011/12/07
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, skrll at netbsd dot org, 2011/12/08
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, dave.anglin at bell dot net, 2011/12/08
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, dave.anglin at bell dot net, 2011/12/08
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, cvs-commit at gcc dot gnu.org, 2011/12/11
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, danglin at gcc dot gnu.org, 2011/12/11
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, danglin at gcc dot gnu.org, 2011/12/11
- [Bug binutils/13476] Incorrect TLS relocations created in DSOs on hppa, nick.hudson at gmx dot co.uk, 2011/12/12