Tidy objdump_symstuff and objdump_dynsymstuff
authorAlan Modra <amodra@gmail.com>
Mon, 3 Aug 2020 01:27:09 +0000 (10:57 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 3 Aug 2020 01:27:09 +0000 (10:57 +0930)
commit39d744bdccbb16bcd4681fbb850dafc9c63c4e25
tree3c1e9e7f5cb677bd3fd67ca2432fcac3c1d878ce
parent38883e38398ec7038cb19e41a91ce6d30162f896
Tidy objdump_symstuff and objdump_dynsymstuff

* testsuite/ld-elfvers/vers.exp (objdump_symstuff): Remove unused
variable.  Init list_a and list_b to empty.
(objdump_dynsymstuff): Likewise, and remove undefined list_a
handling.
* testsuite/ld-elfweak/elfweak.exp (objdump_symstuff): Similarly.
(objdump_dynsymstuff): Similarly.
ld/ChangeLog
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfweak/elfweak.exp