From d51413be236c09f3946d390327595adc109fcf66 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 9 Aug 2022 18:28:57 +0200 Subject: user/bootstrap: save the map file --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3