aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68k/tls-ld-1.d
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-02-03 14:48:32 +0000
committerNick Clifton <nickc@redhat.com>2009-02-03 14:48:32 +0000
commit34a0278d91d5af416424049a8a7a89b60b62ed18 (patch)
tree1be87cc34dd7dd1af6e5c5448bc5ed21fcfee579 /ld/testsuite/ld-m68k/tls-ld-1.d
parentcf869cce6215e2b8cc0daeccf06ace32d3798bd6 (diff)
downloadgdb-34a0278d91d5af416424049a8a7a89b60b62ed18.zip
gdb-34a0278d91d5af416424049a8a7a89b60b62ed18.tar.gz
gdb-34a0278d91d5af416424049a8a7a89b60b62ed18.tar.bz2
new files accidentally omitted from previous delta
Diffstat (limited to 'ld/testsuite/ld-m68k/tls-ld-1.d')
-rw-r--r--ld/testsuite/ld-m68k/tls-ld-1.d22
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68k/tls-ld-1.d b/ld/testsuite/ld-m68k/tls-ld-1.d
new file mode 100644
index 0000000..01e8904
--- /dev/null
+++ b/ld/testsuite/ld-m68k/tls-ld-1.d
@@ -0,0 +1,22 @@
+#as: -mcpu=5206
+#source: tls-ld-1.s
+#ld: -shared
+#readelf: -d -r
+
+Dynamic section at offset .* contains 10 entries:
+ Tag Type Name/Value
+ 0x00000004 \(HASH\) 0x[0-9a-f]+
+ 0x00000005 \(STRTAB\) 0x[0-9a-f]+
+ 0x00000006 \(SYMTAB\) 0x[0-9a-f]+
+ 0x0000000a \(STRSZ\) [0-9]+ \(bytes\)
+ 0x0000000b \(SYMENT\) 16 \(bytes\)
+ 0x00000007 \(RELA\) 0x[0-9a-f]+
+ 0x00000008 \(RELASZ\) 24 \(bytes\)
+ 0x00000009 \(RELAENT\) 12 \(bytes\)
+ 0x00000016 \(TEXTREL\) 0x0
+ 0x00000000 \(NULL\) 0x0
+
+Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
+ Offset Info Type Sym.Value Sym. Name \+ Addend
+[0-9a-f]+ [0-9a-f]+ R_68K_32 00000000 __tls_get_addr \+ 0
+[0-9a-f]+ [0-9a-f]+ R_68K_TLS_DTPMOD3 00000000