aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68k/tls-main-1.d
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-08-26 13:35:37 +0000
committerNick Clifton <nickc@redhat.com>2009-08-26 13:35:37 +0000
commite5f2b1de7c60e55d86dab61eaa3750eca33ef367 (patch)
tree4bc2c1e39f020277f9bdd4e5dad6a0580e54ed53 /ld/testsuite/ld-m68k/tls-main-1.d
parentf7922329bf858a53e75d0affc239ce08bea43fb8 (diff)
downloadgdb-e5f2b1de7c60e55d86dab61eaa3750eca33ef367.zip
gdb-e5f2b1de7c60e55d86dab61eaa3750eca33ef367.tar.gz
gdb-e5f2b1de7c60e55d86dab61eaa3750eca33ef367.tar.bz2
* elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
value. (elf_m68k_check_relocs): Handle dynamic TLS relocations. Handle non_got_ref field. (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field. * tls-def-1.s, tls-def-1.d, tls-gd-1.d2, tls-gd-1.d3, tls-main-1.s, * tls-main-1.d: New files. * m68k.exp: Run new TLS tests.
Diffstat (limited to 'ld/testsuite/ld-m68k/tls-main-1.d')
-rw-r--r--ld/testsuite/ld-m68k/tls-main-1.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68k/tls-main-1.d b/ld/testsuite/ld-m68k/tls-main-1.d
new file mode 100644
index 0000000..7da24ab
--- /dev/null
+++ b/ld/testsuite/ld-m68k/tls-main-1.d
@@ -0,0 +1,15 @@
+
+Dynamic section at offset .* contains .*:
+ * Tag * Type * Name/Value
+ 0x00000001 \(NEEDED\) * Shared library: \[tmpdir/tls-gd-1.so\]
+ 0x00000001 \(NEEDED\) * Shared library: \[tls-def-1.so\]
+ 0x00000004 \(HASH\) .*
+ 0x00000005 \(STRTAB\) .*
+ 0x00000006 \(SYMTAB\) .*
+ 0x0000000a \(STRSZ\) .*
+ 0x0000000b \(SYMENT\) .*
+ 0x00000015 \(DEBUG\) .*
+ 0x00000007 \(RELA\) .*
+ 0x00000008 \(RELASZ\) .*
+ 0x00000009 \(RELAENT\) .*
+ 0x00000000 \(NULL\) .*