diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 96653f339560..d43e730587c6 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -7,7 +7,7 @@ SEARCH_DIR(/usr/lib); SECTIONS { /* Read-only sections, merged into text segment: */ - . = 0xc0000000 + SIZEOF_HEADERS; + . = KERNVIRTADDR + SIZEOF_HEADERS; .interp : { *(.interp) } .hash : { *(.hash) } .dynsym : { *(.dynsym) }