From 475c0dfa8e5b841ff29d3fbf7d6828e3cdd05ad5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 22 Jan 2023 12:05:14 +0000 Subject: [linux] Centralise the linker script for Linux binaries Reduce duplication between i386 and x86_64 by providing a single shared linker script that both architectures can include. Signed-off-by: Michael Brown --- src/arch/i386/Makefile.linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/i386/Makefile.linux') diff --git a/src/arch/i386/Makefile.linux b/src/arch/i386/Makefile.linux index fe4229e94..5992b0628 100644 --- a/src/arch/i386/Makefile.linux +++ b/src/arch/i386/Makefile.linux @@ -1,8 +1,8 @@ # -*- makefile -*- : Force emacs to use Makefile mode -# Linker script +# Starting virtual address # -LDSCRIPT = arch/i386/scripts/linux.lds +LDFLAGS += -Ttext=0x08048000 # Compiler flags for building host API wrapper # -- cgit v1.2.3-55-g7522