ld: Handle --dynamic-list* before -Bsymbolic -Bsymbolic-functions
authorFangrui Song <maskray@google.com>
Thu, 21 May 2020 01:31:39 +0000 (18:31 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 24 May 2020 11:47:46 +0000 (04:47 -0700)
commitbb68f22c8e648032a0d1c1d17353eec599ff5e6a
tree1fc263456d051a8cc7f2913664b4f9e3b8356666
parent309cae1f7bbb6c4de0234e9f592d7dad3d6c61ba
ld: Handle --dynamic-list* before -Bsymbolic -Bsymbolic-functions

--dynamic-list* should work both before and after -Bsymbolic and
-Bsymbolic-functions.

PR ld/26018
* lexsup.c (parse_args): Simplify.
* testsuite/ld-elf/dl4e.out: New.
* testsuite/ld-elf/shared.exp: Updated for PR ld/26018 tests.
ld/ChangeLog
ld/lexsup.c
ld/testsuite/ld-elf/dl4e.out [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp