OSDN Git Service

* ld-cris/libdso-13b.d: New test.
authorhp <hp>
Mon, 15 Dec 2008 02:33:38 +0000 (02:33 +0000)
committerhp <hp>
Mon, 15 Dec 2008 02:33:38 +0000 (02:33 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-cris/libdso-13b.d [new file with mode: 0644]

index b0928f4..cc6c596 100644 (file)
@@ -1,5 +1,7 @@
 2008-12-15  Hans-Peter Nilsson  <hp@axis.com>
 
+       * ld-cris/libdso-13b.d: New test.
+
        * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,
        ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New
        tests.
diff --git a/ld/testsuite/ld-cris/libdso-13b.d b/ld/testsuite/ld-cris/libdso-13b.d
new file mode 100644 (file)
index 0000000..cd6f4e2
--- /dev/null
@@ -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.