aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-11-28 14:15:55 +0000
committerJakub Jelinek <jakub@redhat.com>2002-11-28 14:15:55 +0000
commit00f7efb6ccc0e31cece4ef606c7e796b4605a26d (patch)
tree9e4d578ba06f3185b6991a89ee424937242836aa /ld/testsuite
parent381a1ab30c060addb84bcd45ae1fbe1abd8c8f4d (diff)
downloadgdb-00f7efb6ccc0e31cece4ef606c7e796b4605a26d.zip
gdb-00f7efb6ccc0e31cece4ef606c7e796b4605a26d.tar.gz
gdb-00f7efb6ccc0e31cece4ef606c7e796b4605a26d.tar.bz2
* symbols.c (S_SET_THREAD_LOCAL): New function.
* symbols.h (S_SET_THREAD_LOCAL): New prototype. * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for TLS relocations. * config/tc-ia64.c (md_apply_fix3): Likewise. * config/tc-alpha.c (md_apply_fix3): Likewise. * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-i386/tlsnopic.rd20
2 files changed, 14 insertions, 10 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 27a09ff..0d835d4 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-28 Jakub Jelinek <jakub@redhat.com>
+
+ * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
+
2002-11-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* ld-sh/refdbg-0-dso.d: New test.
diff --git a/ld/testsuite/ld-i386/tlsnopic.rd b/ld/testsuite/ld-i386/tlsnopic.rd
index 3c6f372..5ac242c 100644
--- a/ld/testsuite/ld-i386/tlsnopic.rd
+++ b/ld/testsuite/ld-i386/tlsnopic.rd
@@ -84,13 +84,13 @@ Symbol table '.dynsym' contains 22 entries:
+9: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 *
+10: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 *
+11: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _DYNAMIC
- +12: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg3
- +13: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg4
+ +12: 0+ +0 TLS +GLOBAL DEFAULT UND sg3
+ +13: 0+ +0 TLS +GLOBAL DEFAULT UND sg4
+14: 0+1000 +0 FUNC +GLOBAL DEFAULT +5 fn3
- +15: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg5
- +16: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg1
+ +15: 0+ +0 TLS +GLOBAL DEFAULT UND sg5
+ +16: 0+ +0 TLS +GLOBAL DEFAULT UND sg1
+17: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start
- +18: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg2
+ +18: 0+ +0 TLS +GLOBAL DEFAULT UND sg2
+19: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata
+20: 0+2080 +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
+21: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end
@@ -121,13 +121,13 @@ Symbol table '.symtab' contains 34 entries:
+21: 0+14 +0 TLS +LOCAL HIDDEN +7 sh1
+22: 0+18 +0 TLS +LOCAL HIDDEN +7 sh2
+23: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _DYNAMIC
- +24: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg3
- +25: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg4
+ +24: 0+ +0 TLS +GLOBAL DEFAULT UND sg3
+ +25: 0+ +0 TLS +GLOBAL DEFAULT UND sg4
+26: 0+1000 +0 FUNC +GLOBAL DEFAULT +5 fn3
- +27: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg5
- +28: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg1
+ +27: 0+ +0 TLS +GLOBAL DEFAULT UND sg5
+ +28: 0+ +0 TLS +GLOBAL DEFAULT UND sg1
+29: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start
- +30: 0+ +0 NOTYPE GLOBAL DEFAULT UND sg2
+ +30: 0+ +0 TLS +GLOBAL DEFAULT UND sg2
+31: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata
+32: 0+2080 +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
+33: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end