Don't use -rdynamic in ld test
This gcc option isn't well supported, so use the actual linker option we want to test. * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather than -rdynamic.
This commit is contained in:
parent
e299b3551e
commit
bb4287c562
@ -1,3 +1,8 @@
|
||||
2017-03-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
|
||||
than -rdynamic.
|
||||
|
||||
2017-03-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ld.texinfo (Orphan Sections): Mention that not all targets
|
||||
|
@ -328,7 +328,7 @@ set build_tests {
|
||||
"" ""
|
||||
{pr2404b.c} {} "libpr2404b.a"}
|
||||
{"Build rdynamic-1"
|
||||
"-rdynamic -Wl,--gc-sections" "-ffunction-sections"
|
||||
"-Wl,-export-dynamic,--gc-sections" "-ffunction-sections"
|
||||
{rdynamic-1.c} {{readelf {-s} rdynamic-1.rd}} "rdynamic-1"}
|
||||
{"Build dynamic-1"
|
||||
"-Wl,--dynamic-list,dynamic-1.syms -Wl,--gc-sections" "-ffunction-sections"
|
||||
|
Loading…
x
Reference in New Issue
Block a user