From f3b538b88dfefff2d02c2d6d0c5818c62bbd673c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 13 Dec 2023 08:10:23 +0000 Subject: 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(+) (limited to 'gnu') 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" -- cgit v1.2.3