summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2022-08-09 18:28:57 +0200
committerdzwdz2022-08-09 18:28:57 +0200
commitd51413be236c09f3946d390327595adc109fcf66 (patch)
tree5713398e0d3e566daa4edaafa67392ec4d49f922 /Makefile
parent2f6f3ea54ad01f02e68a23345565c34eb47ad365 (diff)
user/bootstrap: save the map file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 39b7374..a37f474 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ out/bootstrap: src/user/bootstrap/linker.ld \
$(call from_sources, src/user/lib/) \
$(call from_sources, src/shared/)
@mkdir -p $(@D)
- @$(CC) $(LFLAGS) -T $^ -o $@
+ @$(CC) $(LFLAGS) -Wl,-Map=% -T $^ -o $@
out/fs/boot/init: out/bootstrap out/initrd.tar
@mkdir -p $(@D)