diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b0928f446e..cc6c596f6c 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 0000000000..cd6f4e2173 --- /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.