From 9a41e57c2edeb32ae3cd530e761133883d491075 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 18 Jul 2022 18:06:20 +0200 Subject: user: basic elf relocations, PIE support --- src/usertestelf.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usertestelf.ld') diff --git a/src/usertestelf.ld b/src/usertestelf.ld index 2567f77..fcb5fc8 100644 --- a/src/usertestelf.ld +++ b/src/usertestelf.ld @@ -2,7 +2,7 @@ ENTRY(main) SECTIONS { - . = 8M; + _image_base = .; .text BLOCK(4K) : ALIGN(4K) { *(.text) -- cgit v1.2.3