[committed] MIPS/LD/testsuite: Adapt VxWorks segment matching for PR ld/20815 fix
Maciej W. Rozycki
macro@orcam.me.uk
Mon Oct 6 20:43:23 GMT 2025
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)
---
ld/testsuite/ld-mips-elf/vxworks2.sd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
binutils-mips-ld-test-vxworks2-phdr.diff
Index: binutils-gdb/ld/testsuite/ld-mips-elf/vxworks2.sd
===================================================================
--- binutils-gdb.orig/ld/testsuite/ld-mips-elf/vxworks2.sd
+++ binutils-gdb/ld/testsuite/ld-mips-elf/vxworks2.sd
@@ -6,7 +6,7 @@ Entry point 0x80400
Type .*
PHDR .*
#...
- LOAD .* 0x00080000 0x00080000 .* R E 0x1000
+ LOAD .* 0x0007f000 0x0007f000 .* R E 0x1000
LOAD .* 0x00081000 0x00081000 .* RW 0x1000
DYNAMIC .*
More information about the Binutils
mailing list