From 1719dbf2eba04203c2c8042ab86dd253c6cd354d Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 13 Dec 2023 08:10:22 +0000 Subject: [PATCH] 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 --- gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.20.1