Don't use -rdynamic in ld test
authorAlan Modra <amodra@gmail.com>
Sat, 11 Mar 2017 00:34:02 +0000 (11:04 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 11 Mar 2017 00:34:02 +0000 (11:04 +1030)
commitbb4287c562027eafe63ddac9fd4c7e1730335795
tree530b2c3aec5ad8c559f4c2c4c1e7c1f6e5488ace
parente299b3551edbe81be2062fcaef9319d681d0d15b
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.
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp