mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
afe4762271
* script.cc (Lex::can_continue_name): Make '?' allowable in version-script names. * testsuite/version_script.map: Change glob pattern to use '?'
36 lines
525 B
Plaintext
36 lines
525 B
Plaintext
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]st?ff;
|
|
|
|
local:
|
|
*foo*;
|
|
};
|
|
|
|
V2 {
|
|
global:
|
|
extern "C++" {
|
|
otherns::stuff;
|
|
};
|
|
blaz*;
|
|
foo;
|
|
local:
|
|
_[^A-Z]*;
|
|
} V1;
|