aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/libdso-15.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-12-17 02:15:34 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-12-17 02:15:34 +0000
commitd179004260aab534754a14c82b91dd95baec7892 (patch)
tree03241cc8a1d9ed5c940e2f356d12ab59b720a981 /ld/testsuite/ld-cris/libdso-15.d
parent867ea5fd9af7d6938f8dda898edd469afa712d4f (diff)
downloadgdb-d179004260aab534754a14c82b91dd95baec7892.zip
gdb-d179004260aab534754a14c82b91dd95baec7892.tar.gz
gdb-d179004260aab534754a14c82b91dd95baec7892.tar.bz2
* ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
tests.
Diffstat (limited to 'ld/testsuite/ld-cris/libdso-15.d')
-rw-r--r--ld/testsuite/ld-cris/libdso-15.d24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/libdso-15.d b/ld/testsuite/ld-cris/libdso-15.d
new file mode 100644
index 0000000..ce57e97
--- /dev/null
+++ b/ld/testsuite/ld-cris/libdso-15.d
@@ -0,0 +1,24 @@
+#source: expdyn2.s
+#as: --pic --no-underscore --em=criself -I$srcdir/$subdir
+#ld: --shared -m crislinux --version-script $srcdir/$subdir/expalltst3
+#objdump: -s -T
+
+# A DSO that has two versioned symbols, each with a weak alias.
+# Each symbol is versioned.
+
+.*: file format elf32-cris
+
+DYNAMIC SYMBOL TABLE:
+#...
+0+2288 g[ ]+DO .data[ ]+0+4 TST3[ ]+__expobj2
+0+20a g[ ]+DF .text[ ]+0+2 TST3[ ]+__expfn2
+0+20a w[ ]+DF .text[ ]+0+2 TST3[ ]+expfn2
+0+2288 w[ ]+DO .data[ ]+0+4 TST3[ ]+expobj2
+#...
+Contents of section .text:
+ 0208 0f050f05 .*
+#...
+Contents of section .got:
+ 227c 0c220000 00000000 00000000 .*
+Contents of section .data:
+ 2288 00000000 .*