aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/symtocbase.d
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2005-09-28 19:32:19 +0000
committerAlexandre Oliva <aoliva@redhat.com>2005-09-28 19:32:19 +0000
commit08f46626eb865bccbce3c60c00429c00b608710e (patch)
tree01efc3688808512581da9993412b0cefb3ad4ee7 /ld/testsuite/ld-powerpc/symtocbase.d
parent6ad80df0505e4fbfb7bfa96477c2df044d60dd30 (diff)
downloadgdb-08f46626eb865bccbce3c60c00429c00b608710e.zip
gdb-08f46626eb865bccbce3c60c00429c00b608710e.tar.gz
gdb-08f46626eb865bccbce3c60c00429c00b608710e.tar.bz2
* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
* powerpc.exp: Run it.
Diffstat (limited to 'ld/testsuite/ld-powerpc/symtocbase.d')
-rw-r--r--ld/testsuite/ld-powerpc/symtocbase.d24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/symtocbase.d b/ld/testsuite/ld-powerpc/symtocbase.d
new file mode 100644
index 0000000..1936c2f
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/symtocbase.d
@@ -0,0 +1,24 @@
+#source: symtocbase-1.s
+#source: symtocbase-2.s
+#as: -a64
+#ld: -shared -melf64ppc
+#objdump: -dj.data
+#target: powerpc64*-*-*
+
+.*: file format elf64-powerpc
+
+Disassembly of section \.data:
+
+.* <i>:
+ \.\.\.
+.*: 00 02 00 00 \.long 0x20000
+.*: 00 00 00 00 \.long 0x0
+.*: 00 02 00 00 \.long 0x20000
+.*: 00 00 00 00 \.long 0x0
+.*: 00 03 00 00 \.long 0x30000
+.*: 00 00 00 00 \.long 0x0
+.*: 00 03 00 00 \.long 0x30000
+.*: 00 00 00 00 \.long 0x0
+.*: 00 02 00 00 \.long 0x20000
+.*: 00 00 00 00 \.long 0x0
+.*: 00 03 00 00 \.long 0x30000