aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/libdso-12.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-11-04 15:04:05 +0000
committerHans-Peter Nilsson <hp@axis.com>2004-11-04 15:04:05 +0000
commit1f02b94b933456f526f294831af1e32e44f50381 (patch)
tree3de0b930a7f8ace0a8dd859b3d6efa67805bb237 /ld/testsuite/ld-cris/libdso-12.d
parent05e6b3155d891aa0883c4690c62d28009afb940a (diff)
downloadgdb-1f02b94b933456f526f294831af1e32e44f50381.zip
gdb-1f02b94b933456f526f294831af1e32e44f50381.tar.gz
gdb-1f02b94b933456f526f294831af1e32e44f50381.tar.bz2
* ld-elf/merge.d: xfail crisv32-*-*.
* ld-cris/dsov32-1.s, ld-cris/dsov32-2.s, ld-cris/dsov32-3.s, ld-cris/dsov32-4.s, ld-cris/libdso-10.d, ld-cris/libdso-11.d, ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d, ld-cris/move-1.s, ld-cris/pv32-1.d, ld-cris/pv32.s, ld-cris/start1.s, ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d, ld-cris/v32-ba-1.s, ld-cris/v32-bin-1.d, ld-cris/v32-bin-1.s, ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d, ld-cris/va-v32.d: New tests. * ld-cris/ldsym1.d: Adjust for change in linker script.
Diffstat (limited to 'ld/testsuite/ld-cris/libdso-12.d')
-rw-r--r--ld/testsuite/ld-cris/libdso-12.d51
1 files changed, 51 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/libdso-12.d b/ld/testsuite/ld-cris/libdso-12.d
new file mode 100644
index 0000000..f339ac2
--- /dev/null
+++ b/ld/testsuite/ld-cris/libdso-12.d
@@ -0,0 +1,51 @@
+#source: expdyn1.s
+#source: dsov32-1.s
+#source: dsov32-2.s
+#as: --pic --no-underscore --march=v32
+#ld: --shared -m crislinux -z nocombreloc
+#objdump: -s -T
+
+# Check for common DSO contents; load of GOT register, branch to
+# function PLT, undefined symbol, GOT reloc.
+
+.*: file format elf32-cris
+
+DYNAMIC SYMBOL TABLE:
+#...
+0+282 g DF \.text 0+12 dsofn4
+0+278 g DF \.text 0+2 expfn
+0+2348 g DO \.data 0+ expobj
+#...
+0+27a g DF \.text 0+8 dsofn3
+#...
+0+ D \*UND\* 0+ dsofn
+#...
+Contents of section \.rela\.got:
+ 0204 44230000 0a070000 00000000 .*
+Contents of section \.rela\.plt:
+ 0210 3c230000 0b050000 00000000 40230000 .*
+ 0220 0b0d0000 00000000 .*
+Contents of section \.plt:
+ 0228 84e20401 7e7a3f7a 04f26ffa bf09b005 .*
+ 0238 00000000 00000000 00006f0d 0c000000 .*
+ 0248 6ffabf09 b0053f7e 00000000 bf0ed4ff .*
+ 0258 ffffb005 6f0d1000 00006ffa bf09b005 .*
+ 0268 3f7e0c00 0000bf0e baffffff b005 .*
+Contents of section \.text:
+ 0276 b005b005 bfbee2ff ffffb005 7f0dae20 .*
+ 0286 00005f0d 1400bfbe b6ffffff b0050000 .*
+Contents of section \.dynamic:
+ 22a0 04000000 94000000 05000000 c0010000 .*
+ 22b0 06000000 e0000000 0a000000 43000000 .*
+ 22c0 0b000000 10000000 03000000 30230000 .*
+ 22d0 02000000 18000000 14000000 07000000 .*
+ 22e0 17000000 10020000 07000000 04020000 .*
+ 22f0 08000000 0c000000 09000000 0c000000 .*
+ 2300 00000000 00000000 00000000 00000000 .*
+ 2310 00000000 00000000 00000000 00000000 .*
+ 2320 00000000 00000000 00000000 00000000 .*
+Contents of section \.got:
+ 2330 a0220000 00000000 00000000 4e020000 .*
+ 2340 68020000 00000000 .*
+Contents of section \.data:
+ 2348 00000000 .*