summaryrefslogtreecommitdiff
path: root/stand/i386/loader
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2019-09-08 19:39:45 +0000
committerToomas Soome <tsoome@FreeBSD.org>2019-09-08 19:39:45 +0000
commit094b40659f8f3978939e18ae3331013da54faeac (patch)
tree0e1ba7a1f684d975fffe7277f1186f005b5c74db /stand/i386/loader
parentc344416ecd8f032f421010fa13bb5cc989d60406 (diff)
downloadsrc-test2-094b40659f8f3978939e18ae3331013da54faeac.tar.gz
src-test2-094b40659f8f3978939e18ae3331013da54faeac.zip
Notes
Diffstat (limited to 'stand/i386/loader')
-rw-r--r--stand/i386/loader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile
index dbb993eaad02..d0611ef6a4d9 100644
--- a/stand/i386/loader/Makefile
+++ b/stand/i386/loader/Makefile
@@ -47,7 +47,7 @@ HELP_FILES= ${.CURDIR}/help.i386
CLEANFILES+= ${LOADER} ${LOADER}.bin
CFLAGS+= -Wall
-LDFLAGS+= -static -Ttext 0x0
+LDFLAGS+= -static -Ttext 0x0 -Wl,--gc-sections
# i386 standalone support library
LIBI386= ${BOOTOBJ}/i386/libi386/libi386.a