diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-08-08 03:50:18 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-08-08 03:50:18 +0000 |
commit | 3194163592008a9e575d577921647ab91b09c77b (patch) | |
tree | 4c4fa4fb54d632b2db20f90e84d881f337cc66c3 /ld/testsuite | |
parent | cb811fe799b18a559b53b719e40dd65504db57c0 (diff) | |
download | gdb-3194163592008a9e575d577921647ab91b09c77b.zip gdb-3194163592008a9e575d577921647ab91b09c77b.tar.gz gdb-3194163592008a9e575d577921647ab91b09c77b.tar.bz2 |
Check symbols with undefine version.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers1.map | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers18.map | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers8.map | 3 |
5 files changed, 10 insertions, 11 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b492850..0c2e3b9 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2002-08-07 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add --no-undefined-version. + + * ld-elfvers/vers1.map: Remove the unused foo1 and foo2. + * ld-elfvers/vers8.map: Likewise. + * ld-elfvers/vers18.map: Likewise. + 2002-07-30 John David Anglin <dave@hiauly1.hia.nrc.ca> * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp, diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 1acc0e6..7380729 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -62,7 +62,7 @@ set tmpdir tmpdir set VOBJDUMP_FLAGS --private-headers set DOBJDUMP_FLAGS --dynamic-syms set SOBJDUMP_FLAGS --syms -set shared --shared +set shared "--shared --no-undefined-version" set script --version-script proc test_ar { test lib object expect } { @@ -643,7 +643,7 @@ proc build_exec { test source execname flags solibname verexp versymexp symexp } global CC global CFLAGS - set shared --shared + set shared "--shared --no-undefined-version" set script --version-script if ![ld_compile "$CC -S $CFLAGS" $srcdir/$subdir/$source $tmpdir/$execname.s] { unresolved "$test" diff --git a/ld/testsuite/ld-elfvers/vers1.map b/ld/testsuite/ld-elfvers/vers1.map index 8fc37bc..767915c 100644 --- a/ld/testsuite/ld-elfvers/vers1.map +++ b/ld/testsuite/ld-elfvers/vers1.map @@ -1,6 +1,4 @@ VERS_1.1 { - global: - foo1; local: hide_old*; hide_original*; @@ -8,7 +6,6 @@ VERS_1.1 { }; VERS_1.2 { - foo2; } VERS_1.1; VERS_2.0 { diff --git a/ld/testsuite/ld-elfvers/vers18.map b/ld/testsuite/ld-elfvers/vers18.map index eac2b0e..8dcff39 100644 --- a/ld/testsuite/ld-elfvers/vers18.map +++ b/ld/testsuite/ld-elfvers/vers18.map @@ -1,6 +1,4 @@ VERS_1.1 { - global: - foo1; local: hide_old*; hide_original*; @@ -8,7 +6,6 @@ VERS_1.1 { }; VERS_1.2 { - foo2; } VERS_1.1; VERS_2.0 { diff --git a/ld/testsuite/ld-elfvers/vers8.map b/ld/testsuite/ld-elfvers/vers8.map index 2635955..c24fb10 100644 --- a/ld/testsuite/ld-elfvers/vers8.map +++ b/ld/testsuite/ld-elfvers/vers8.map @@ -1,7 +1,5 @@ VERSION { VERS_1.1 { - global: - foo1; local: hide_old*; hide_original*; @@ -9,7 +7,6 @@ VERSION { }; VERS_1.2 { - foo2; } VERS_1.1; VERS_2.0 { |