Commit | Line | Data |
---|---|---|
37a141bf FS |
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 | |
a0c0ad56 AM |
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. | |
37a141bf FS |
8 | |
9 | #... | |
a0c0ad56 AM |
10 | [0-9a-f]+ [AT] +bar |
11 | [0-9a-f]+ [AT] +foo | |
37a141bf | 12 | #... |