diff --git a/ld/ChangeLog b/ld/ChangeLog index 8b01f54254..1dcb981353 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-08-30 Maciej W. Rozycki + + * testsuite/ld-elf/orphan-11.ld: Also discard `.MIPS.options' + sections. + 2017-08-30 Maciej W. Rozycki * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test. diff --git a/ld/testsuite/ld-elf/orphan-11.ld b/ld/testsuite/ld-elf/orphan-11.ld index 74c7789457..b72f7d4c44 100644 --- a/ld/testsuite/ld-elf/orphan-11.ld +++ b/ld/testsuite/ld-elf/orphan-11.ld @@ -10,7 +10,7 @@ SECTIONS .rel : { *(.rel .rel.*) } /DISCARD/ : { - *(.reginfo) *(.MIPS.abiflags) *(.trampolines) *(.iplt*) - *(.note*) *(.got*) *(.igot*) *(.*.attributes) *(.*.info) + *(.reginfo) *(.MIPS.abiflags) *(.MIPS.options) *(.trampolines) + *(.iplt*) *(.note*) *(.got*) *(.igot*) *(.*.attributes) *(.*.info) *(.pdr) "linker stubs*"(*) } }