mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
Check symbols with undefine version.
This commit is contained in:
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user