aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/weak1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/weak1.d')
-rw-r--r--ld/testsuite/ld-sh/weak1.d20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/weak1.d b/ld/testsuite/ld-sh/weak1.d
new file mode 100644
index 0000000..fe27278
--- /dev/null
+++ b/ld/testsuite/ld-sh/weak1.d
@@ -0,0 +1,20 @@
+#source: weak1.s
+#as: -little
+#ld: -e 0x1000 -EL
+#objdump: -ts
+
+.*: file format elf32-shl
+
+SYMBOL TABLE:
+#...
+0+10a0 l .data 0+ d0
+0+1000 l .text 0+ f
+0+10a4 w .data 0+ w0
+#...
+
+Contents of section .text:
+ 1000 01d11260 0b000900 a4100000 09000900 .*
+ 1010 09000900 09000900 09000900 09000900 .*
+Contents of section .data:
+ 10a0 01000000 00000000 .*
+#pass