aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/version_script.map
blob: c7662af8d3c54d4216da2934403e2a077ea397ba (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
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;
} V1;