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/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/Makefile.linux')
-rw-r--r-- | src/Makefile.linux | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.linux b/src/Makefile.linux index 85d9c6438..b278c8c0d 100644 --- a/src/Makefile.linux +++ b/src/Makefile.linux @@ -8,6 +8,10 @@ SYMBOL_PREFIX = _ipxe__ # CFLAGS += -UNVALGRIND +# The Linux linker script +# +LDSCRIPT = scripts/linux.lds + # Use a two-stage link # LDFLAGS += -r -d |