From 5494de25df1441e3b7f6d3e23a232a0664c6f904 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 17 Jul 2025 01:14:05 +0200 Subject: [PATCH] Map --- .gitignore | 1 + Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 099dd79..c560c62 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ bin/ generated.*.ld compile_commands.json tags +*.map diff --git a/Makefile b/Makefile index 9ca48ad..b6634b2 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ else endif CFLAGS += -I$(NEWLIB) +LDFLAGS += -Wl,-Map=main.map # CFILES := main.c system.c CFILES += $(wildcard *.c)