X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gold%2Ftestsuite%2Fversion_script.map;fp=gold%2Ftestsuite%2Fversion_script.map;h=3b7d1b6fef312279413eba5f417ba9b51a0b6def;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gold/testsuite/version_script.map b/gold/testsuite/version_script.map new file mode 100644 index 0000000..3b7d1b6 --- /dev/null +++ b/gold/testsuite/version_script.map @@ -0,0 +1,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;