summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-20 14:52:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-20 14:52:08 +0000
commit582b2bfef2084b85d97c232495667abb1828fb52 (patch)
tree3c122c3b3961d4dce041084299745e7c0c5983d9 /libexec
parentd5c191091afc90123489dfe067d1eee94c9a2579 (diff)
there is a super-alignment between btext and text, this creates a hole.
Twice, I have seen the sigtramp mapping land inside that hole. This causes grief for the upcoming pinsyscalls() work which operates on address space ranges. But the micro-optimization is silly. ok kettenis
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/sparc64/ld.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ld.so/sparc64/ld.script b/libexec/ld.so/sparc64/ld.script
index 77873fa40d0..40bf0814d10 100644
--- a/libexec/ld.so/sparc64/ld.script
+++ b/libexec/ld.so/sparc64/ld.script
@@ -31,7 +31,7 @@ SECTIONS
. = ALIGN(0x2000);
boot_text_end = .;
} :btext =0
- . = ALIGN(0x100000);
+ . = ALIGN(0x2000);
.text : { *(.text .text.*) } :text =0
/* RELRO DATA */