summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-13 08:10:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-13 08:10:23 +0000
commitf3b538b88dfefff2d02c2d6d0c5818c62bbd673c (patch)
tree86c78aa7dc61a04f2598489f3cc95ead0a2e5851 /gnu
parentaf6cf1f0c54b2dfe076072bb6243bd9e9284bb1f (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh2
1 files changed, 2 insertions, 0 deletions
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"