
Also discard the `.MIPS.options' section, used with n64 MIPS binaries, along with similar other MIPS sections (`.reginfo', `.MIPS.abiflags') not relevant for the test cases concerned, fixing these regressions: mips64-openbsd -FAIL: ld-elf/group3a mips64-openbsd -FAIL: ld-elf/group3b mips64-openbsd -FAIL: Place orphan sections (map file check) mips64-openbsd -FAIL: ld-elf/orphan-region mips64-openbsd -FAIL: ld-elf/orphan mips64-openbsd -FAIL: overlay size (map file check) mips64-openbsd -FAIL: overlay size mips64el-openbsd -FAIL: ld-elf/group3a mips64el-openbsd -FAIL: ld-elf/group3b mips64el-openbsd -FAIL: Place orphan sections (map file check) mips64el-openbsd -FAIL: ld-elf/orphan-region mips64el-openbsd -FAIL: ld-elf/orphan mips64el-openbsd -FAIL: overlay size (map file check) mips64el-openbsd -FAIL: overlay size Co-Authored-By: Maciej W. Rozycki <macro@orcam.me.uk> binutils/ * testsuite/binutils-all/strip-3.d: Add `-R .MIPS.options' to the `strip' tag. ld/ * testsuite/ld-elf/group.ld: Also discard `.MIPS.options'. * testsuite/ld-elf/orphan-region.ld: Likewise. * testsuite/ld-elf/orphan.ld: Likewise. * testsuite/ld-mips-elf/got-page-1.ld: Likewise. * testsuite/ld-scripts/overlay-size.t: Likewise.
31 lines
505 B
Text
31 lines
505 B
Text
SECTIONS
|
|
{
|
|
. = 0x80000;
|
|
.interp : { *(.interp) }
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|
|
|
|
. = ALIGN (0x400);
|
|
.rel.dyn : { *(.rel.dyn) }
|
|
|
|
. = ALIGN (0x400);
|
|
.MIPS.stubs : { *(.MIPS.stubs) }
|
|
|
|
. = ALIGN (0x400);
|
|
.text : { *(.text) }
|
|
|
|
. = ALIGN (0x10000);
|
|
HIDDEN (_gp = . + 0x7ff0);
|
|
.got : { *(.got) }
|
|
|
|
. = ALIGN (0x400);
|
|
.bss : { *(.bss .bss.*) }
|
|
|
|
/DISCARD/ : { *(.reginfo) *(.MIPS.abiflags) *(.MIPS.options) }
|
|
}
|
|
|
|
VERSION
|
|
{
|
|
{ local: *; };
|
|
}
|