* ld-cris/libdso-4.d, ld-cris/undef1.d: New test.

This commit is contained in:
Hans-Peter Nilsson 2002-08-15 05:19:32 +00:00
parent 0485ddbcbc
commit 43b1011811
3 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-08-15 Hans-Peter Nilsson <hp@axis.com>
* ld-cris/libdso-4.d, ld-cris/undef1.d: New test.
2002-08-13 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers23c and vers23d.

View File

@ -0,0 +1,11 @@
#source: dso-2.s
#as: --pic --no-underscore
#ld: --shared -m crislinux
#objdump: -T
# DSO with an undef symbol "dsofn". See undef1.d.
.*: file format elf32-cris
#...
0+ D \*UND\* 0+ dsofn

View File

@ -0,0 +1,13 @@
#source: dso-1.s
#source: gotrel1.s --pic
#as: --no-underscore
#ld: -m crislinux tmpdir/libdso-4.so
#objdump: -T
# The DSO used has an undef reference to the symbol "dsofn", which is
# supposed to cause the program to automatically export it as a dynamic
# symbol; no --export-dynamic is supposed to be needed.
#...
[0-9a-f]+ g DF .text 00000000 dsofn
#pass