aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv/tls-shared-3.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-frv/tls-shared-3.d')
-rw-r--r--ld/testsuite/ld-frv/tls-shared-3.d27
1 files changed, 27 insertions, 0 deletions
diff --git a/ld/testsuite/ld-frv/tls-shared-3.d b/ld/testsuite/ld-frv/tls-shared-3.d
new file mode 100644
index 0000000..d1a74c8
--- /dev/null
+++ b/ld/testsuite/ld-frv/tls-shared-3.d
@@ -0,0 +1,27 @@
+#name: FRV TLS undefweak relocs, shared linking
+#source: tls-3.s
+#objdump: -DR -j .text -j .got -j .plt
+#ld: -shared
+
+.*: file format elf.*frv.*
+
+Disassembly of section \.text:
+
+000002f4 <_start>:
+ 2f4: 92 c8 f0 0c ldi @\(gr15,12\),gr9
+ 2f8: 00 88 00 00 nop\.p
+ 2fc: 80 88 00 00 nop
+ 300: 92 c8 f0 0c ldi @\(gr15,12\),gr9
+ 304: 80 88 00 00 nop
+ 308: 12 c8 f0 0c ldi\.p @\(gr15,12\),gr9
+ 30c: 80 88 00 00 nop
+ 310: 80 88 00 00 nop
+ 314: 92 c8 f0 0c ldi @\(gr15,12\),gr9
+ 318: 00 88 00 00 nop\.p
+ 31c: 80 88 00 00 nop
+ 320: 92 c8 f0 0c ldi @\(gr15,12\),gr9
+Disassembly of section \.got:
+
+000043a8 <_GLOBAL_OFFSET_TABLE_>:
+ \.\.\.
+ 43b4: R_FRV_TLSOFF u