summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gold/testsuite/version_script.map
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gold/testsuite/version_script.map')
-rw-r--r--binutils-2.25/gold/testsuite/version_script.map34
1 files changed, 34 insertions, 0 deletions
diff --git a/binutils-2.25/gold/testsuite/version_script.map b/binutils-2.25/gold/testsuite/version_script.map
new file mode 100644
index 00000000..d3ba02ef
--- /dev/null
+++ b/binutils-2.25/gold/testsuite/version_script.map
@@ -0,0 +1,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;