1 #name: -u --export-dynamic-symbol foo archive 2 #source: export-dynamic-symbol.s 3 #ld: -pie -u foo --export-dynamic-symbol foo --export-dynamic-symbol=bar tmpdir/libpr25910.a 4 #nm: -D 5 # mips-sgi-irix6 makes foo and bar SHN_MIPS_DATA (SHN_LOPROC+2) due to the 6 # testcase carelessly leaving them untyped which mips gas turns into 7 # STT_OBJECT type. nm interprets SHN_MIPS_DATA (incorrectly) to be A type. 8 9 #... 10 [0-9a-f]+ [AT] +bar 11 [0-9a-f]+ [AT] +foo 12 #... 13