mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
a0c0ad5670
* testsuite/ld-dynamic/export-dynamic-symbol-2.d: Match output for mips-sgi-irix6. * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: Likewise. * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: Likewise. * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: Likewise. * testsuite/ld-dynamic/export-dynamic-symbol.exp: Exclude targets with poor PIE support.
13 lines
451 B
Makefile
13 lines
451 B
Makefile
#name: -u --export-dynamic-symbol foo archive
|
|
#source: export-dynamic-symbol.s
|
|
#ld: -pie -u foo --export-dynamic-symbol foo --export-dynamic-symbol=bar tmpdir/libpr25910.a
|
|
#nm: -D
|
|
# mips-sgi-irix6 makes foo and bar SHN_MIPS_DATA (SHN_LOPROC+2) due to the
|
|
# testcase carelessly leaving them untyped which mips gas turns into
|
|
# STT_OBJECT type. nm interprets SHN_MIPS_DATA (incorrectly) to be A type.
|
|
|
|
#...
|
|
[0-9a-f]+ [AT] +bar
|
|
[0-9a-f]+ [AT] +foo
|
|
#...
|