aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68k/tls-def-1.s
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-def-1.s
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-def-1.s')
-rw-r--r--ld/testsuite/ld-m68k/tls-def-1.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68k/tls-def-1.s b/ld/testsuite/ld-m68k/tls-def-1.s
new file mode 100644
index 0000000..3d758a9
--- /dev/null
+++ b/ld/testsuite/ld-m68k/tls-def-1.s
@@ -0,0 +1,9 @@
+#NO_APP
+ .globl x
+ .section .tbss,"awT",@nobits
+ .align 2
+ .type x, @object
+ .size x, 4
+x:
+ .zero 4
+ .section .note.GNU-stack,"",@progbits