aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-12-15 02:33:38 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-12-15 02:33:38 +0000
commit8101aae242f9b9cb8731cd4abc865e9f7fca887f (patch)
tree948edf8b3f6d437501f218966b90153ee07a196f /ld/testsuite/ld-cris
parent0d08de41ae5b90d05788601b3daa787ef07345a3 (diff)
downloadgdb-8101aae242f9b9cb8731cd4abc865e9f7fca887f.zip
gdb-8101aae242f9b9cb8731cd4abc865e9f7fca887f.tar.gz
gdb-8101aae242f9b9cb8731cd4abc865e9f7fca887f.tar.bz2
* ld-cris/libdso-13b.d: New test.
Diffstat (limited to 'ld/testsuite/ld-cris')
-rw-r--r--ld/testsuite/ld-cris/libdso-13b.d23
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/libdso-13b.d b/ld/testsuite/ld-cris/libdso-13b.d
new file mode 100644
index 0000000..cd6f4e2
--- /dev/null
+++ b/ld/testsuite/ld-cris/libdso-13b.d
@@ -0,0 +1,23 @@
+#source: dso-1.s
+#source: dsov32-3.s
+#as: --pic --no-underscore --march=v32 --em=criself
+#ld: --shared -m crislinux --version-script $srcdir/$subdir/hidedsofns2468
+#readelf: -d -r
+
+# Like libdso-13.d, but without -z nocombreloc and with a version
+# script hiding the function called pcrel-without-plt. There should
+# be no warning, no relocations in the output and no TEXTREL marking.
+
+Dynamic section at offset 0x1b0 contains 9 entries:
+ Tag Type Name/Value
+ 0x00000004 \(HASH\) .*
+ 0x00000005 \(STRTAB\) .*
+ 0x00000006 \(SYMTAB\) .*
+ 0x0000000a \(STRSZ\) .*
+ 0x0000000b \(SYMENT\) .*
+ 0x6ffffffc \(VERDEF\) .*
+ 0x6ffffffd \(VERDEFNUM\) .*
+ 0x6ffffff0 \(VERSYM\) .*
+ 0x00000000 \(NULL\) 0x0
+
+There are no relocations in this file.