commit fddbf7821363eadde0ab44b7e2c933afc803e5c4
parent 431a3d1a5038ba6d3f93e5e6951189ed51266442
Author: Drew DeVault <sir@cmpwn.com>
Date: Sat, 6 Nov 2021 09:41:10 +0100
rt/hare.sc: move .text higher in the address space
This fixes issues where the ELF header would clash with the .text
address, reported by Armin Preiml.
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rt/hare.sc b/rt/hare.sc
@@ -5,12 +5,12 @@ PHDRS {
}
ENTRY(_start);
SECTIONS {
- . = 0x10000;
+ . = 0x8000000;
.text : {
KEEP (*(.text))
*(.text.*)
} :text
- . = 0x8000000;
+ . = 0x80000000;
.data : {
KEEP (*(.data))
*(.data.*)