aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/version_script.map
blob: d3ba02ef0c5903b34381bd09a83ef4a6cc628400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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*;
   local:
	_[^A-Z]*;
} V1;