aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/version_script.map
blob: 3b7d1b6fef312279413eba5f417ba9b51a0b6def (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
35
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;