CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2021/10/12 08:06:05

Modified files:
        gnu/usr.bin/binutils-2.17/bfd: elfxx-mips.c 

Log message:
Do not extend PT_DYNAMIC segment on mips64

The IRIX-specific extension of the PT_DYNAMIC segment is not needed
by the dynamic linker on OpenBSD/mips64. Disable it so that the .dynamic
section stays at the start of the PT_DYNAMIC segment even when .dynstr,
.dynsym or .hash precedes .dynamic in the ELF file. This enables
Binutils 2.17 tools, such as strip(1), rewrite executables and shared
libraries that have been produced by LLD.

OK kettenis@

Reply via email to