diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-01-22 12:05:14 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-01-22 12:38:03 +0000 |
commit | 475c0dfa8e5b841ff29d3fbf7d6828e3cdd05ad5 (patch) | |
tree | 6b3dc78383e712a409892ca0c38cf868219974d4 /src/arch/x86_64/Makefile.linux | |
parent | a99e435c8e24887ce80c322029ba23103e00d1c2 (diff) | |
download | ipxe-475c0dfa8e5b841ff29d3fbf7d6828e3cdd05ad5.tar.gz |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86_64/Makefile.linux')
-rw-r--r-- | src/arch/x86_64/Makefile.linux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86_64/Makefile.linux b/src/arch/x86_64/Makefile.linux index c41ee49df..3372d70b0 100644 --- a/src/arch/x86_64/Makefile.linux +++ b/src/arch/x86_64/Makefile.linux @@ -1,8 +1,8 @@ # -*- makefile -*- : Force emacs to use Makefile mode -# Linker script +# Starting virtual address # -LDSCRIPT = arch/x86_64/scripts/linux.lds +LDFLAGS += -Ttext=0x400000 # Include generic Linux Makefile # |