From 8101aae242f9b9cb8731cd4abc865e9f7fca887f Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 15 Dec 2008 02:33:38 +0000 Subject: [PATCH] * ld-cris/libdso-13b.d: New test. --- ld/testsuite/ChangeLog | 2 ++ ld/testsuite/ld-cris/libdso-13b.d | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ld/testsuite/ld-cris/libdso-13b.d diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b0928f446ee..cc6c596f6c7 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2008-12-15 Hans-Peter Nilsson + * 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 index 00000000000..cd6f4e21734 --- /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. -- 2.30.2