LD/testsuite: Also discard `.MIPS.options' in orphan tests
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 30 Aug 2017 21:55:14 +0000 (22:55 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 30 Aug 2017 21:55:14 +0000 (22:55 +0100)
commit5dda32094f668a3e9738ea9b3aaea530d2bba7cb
tree91b8ad19abf47fa97d8e814f5a3a9537e979c304
parentf493882dab762fb49ecb8685c18a85edfab5e6d3
LD/testsuite: Also discard `.MIPS.options' in orphan tests

Complement commit 5b5f4e6f8cd2 ("ld: Early detection of orphans we know
will be discarded") and add `.MIPS.options' to the list of sections
discarded with orphan tests, removing failures like:

./ld-new: error: unplaced orphan section `.MIPS.options' from `tmpdir/orphan-11.o'.
FAIL: ld-elf/orphan-11

and:

./ld-new: error: unplaced orphan section `.MIPS.options' from `tmpdir/orphan-12.o'.
FAIL: ld-elf/orphan-12

from n64 MIPS testing.

ld/
* testsuite/ld-elf/orphan-11.ld: Also discard `.MIPS.options'
sections.
ld/ChangeLog
ld/testsuite/ld-elf/orphan-11.ld