summaryrefslogtreecommitdiff
path: root/src/usertestelf.ld
diff options
context:
space:
mode:
authordzwdz2022-07-18 18:06:20 +0200
committerdzwdz2022-07-18 18:06:20 +0200
commit9a41e57c2edeb32ae3cd530e761133883d491075 (patch)
tree93ceacff188cf382e8c2a8c61ddf99b82a21d0d3 /src/usertestelf.ld
parentd43c1af88b1834a00f8b5f09aa0af1a5e4f5b4aa (diff)
user: basic elf relocations, PIE support
Diffstat (limited to 'src/usertestelf.ld')
-rw-r--r--src/usertestelf.ld2
1 files changed, 1 insertions, 1 deletions
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)