diff options
-rw-r--r-- | usr/klibc/arch/arm64/MCONFIG | 1 | ||||
-rw-r--r-- | usr/klibc/arch/x86_64/MCONFIG | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/usr/klibc/arch/arm64/MCONFIG b/usr/klibc/arch/arm64/MCONFIG index f8741ff295d5c..b90568ecfcfa6 100644 --- a/usr/klibc/arch/arm64/MCONFIG +++ b/usr/klibc/arch/arm64/MCONFIG @@ -13,6 +13,7 @@ CPU_TUNE ?= generic KLIBCOPTFLAGS += -g -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE) KLIBCBITSIZE = 64 KLIBCREQFLAGS += -fno-exceptions -mgeneral-regs-only +KLIBCLDFLAGS = $(LD_IMAGE_BASE_OPT) 0x00400000 # Extra linkflags when building the shared version of the library # This address needs to be reachable using normal inter-module diff --git a/usr/klibc/arch/x86_64/MCONFIG b/usr/klibc/arch/x86_64/MCONFIG index 307b48fb260b9..70d690e331aa1 100644 --- a/usr/klibc/arch/x86_64/MCONFIG +++ b/usr/klibc/arch/x86_64/MCONFIG @@ -25,7 +25,7 @@ else KLIBCOPTFLAGS += -fno-asynchronous-unwind-tables endif KLIBCBITSIZE = 64 -KLIBCLDFLAGS = -m elf_x86_64 +KLIBCLDFLAGS = -m elf_x86_64 $(LD_IMAGE_BASE_OPT) 0x00400000 # Extra linkflags when building the shared version of the library # This address needs to be reachable using normal inter-module |