From: deraadt Date: Wed, 13 Dec 2023 08:10:22 +0000 (+0000) Subject: OSF/1 placed alpha binaries above 4G. This affects our nopie binaries, X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1719dbf2eba04203c2c8042ab86dd253c6cd354d;p=openbsd OSF/1 placed alpha binaries above 4G. This affects our nopie binaries, of which there is only one -- instbin, on the install media. But that is incompatible with the 32-bit offsets in openbsd.syscalls. Move the start of openbsd nopie binaries much lower. ok kettenis --- diff --git a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh index 7ffa88dfc39..06ec151a967 100644 --- a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh +++ b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh @@ -1,3 +1,5 @@ . ${srcdir}/emulparams/elf64alpha.sh . ${srcdir}/emulparams/elf_obsd.sh ENTRY=__start +TEXT_START_ADDR="0x2000000" +NONPAGED_TEXT_START_ADDR="0x2000000"