From: Maciej W. Rozycki Date: Mon, 6 Oct 2025 20:37:28 +0000 (+0100) Subject: MIPS/LD/testsuite: Adapt VxWorks segment matching for PR ld/20815 fix X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c13c7174e1cdf191fa958809df56fe114ac488fe;p=thirdparty%2Fbinutils-gdb.git MIPS/LD/testsuite: Adapt VxWorks segment matching for PR ld/20815 fix Adjust segment addresses in the program header dump to account for the inclusion of the program headers in the segment, removing a regression from commit 1a9ccd70f9a7 ("Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries."): mips-vxworks -FAIL: VxWorks executable test 2 (dynamic) mipsel-vxworks -FAIL: VxWorks executable test 2 (dynamic) --- diff --git a/ld/testsuite/ld-mips-elf/vxworks2.sd b/ld/testsuite/ld-mips-elf/vxworks2.sd index 5ff87d3bef8..4f56f2ac7ec 100644 --- a/ld/testsuite/ld-mips-elf/vxworks2.sd +++ b/ld/testsuite/ld-mips-elf/vxworks2.sd @@ -6,7 +6,7 @@ Program Headers: Type .* PHDR .* #... - LOAD .* 0x00080000 0x00080000 .* R E 0x1000 + LOAD .* 0x0007f000 0x0007f000 .* R E 0x1000 LOAD .* 0x00081000 0x00081000 .* RW 0x1000 DYNAMIC .*