aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/weak1.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-10-14 15:18:11 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-10-14 15:18:11 +0000
commit7739e068a7ea8b3668c2e37702b80aff02f19662 (patch)
tree86a2e74da2c5fe4672077d086979869ec31ca984 /ld/testsuite/ld-sh/weak1.d
parentc987d8c09dafb9cb2c1b37c3aface3494c2e1717 (diff)
downloadfsf-binutils-gdb-7739e068a7ea8b3668c2e37702b80aff02f19662.zip
fsf-binutils-gdb-7739e068a7ea8b3668c2e37702b80aff02f19662.tar.gz
fsf-binutils-gdb-7739e068a7ea8b3668c2e37702b80aff02f19662.tar.bz2
* ld-sh/rd-sh.exp: New framework file.
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New test files.
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