old-cross-binutils/gold/testsuite/version_script.map
Ian Lance Taylor 55a934330a Originally from Craig Silverstein, with changes: support using a
version script to force symbols to be local.
2008-01-24 00:15:00 +00:00

35 lines
525 B
Text

V1 {
global:
extern "C++"
{
"bar()";
"baz(int*)";
};
foo;
blaza*;
bar*;
# Make sure we parse "extern" when it's not first thing in the section.
extern "C++"
{
myns::*;
};
# Would be a keyword in a linker script.
SECTIONS;
sizeof_headers;
# Crazy globbiness
glob*f[^A-Zo]stuff;
local:
*foo*;
};
V2 {
global:
extern "C++" {
otherns::stuff;
};
blaz*;
foo;
local:
_[^A-Z]*;
} V1;