CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2024/04/10 13:43:16

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

Log message:
When rewriting an ELF header (i.e. in strip and objcopy), keep the
.openbsd.syscalls section with the PT_OPENBSD_SYSCALLS phdr, even though is
does not have the ALLOC flag; otherwise the phdr gets rewritten with a size
of zero, which prevents the binary from working.

ok kettenis@

Reply via email to