Check symbols with undefine version.

This commit is contained in:
H.J. Lu
2002-08-08 03:50:18 +00:00
parent cb811fe799
commit 3194163592
14 changed files with 152 additions and 53 deletions

View File

@ -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"

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {