From 118386d83f69cea28f3f7500c7b8c5bc6ee6cfff Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Fri, 4 Dec 2009 17:50:48 +0100 Subject: let linker create a link map Signed-off-by: Juergen Beisert Signed-off-by: Marc Kleine-Budde --- .gitignore | 1 + Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 1d40508f3f..d58955521f 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ uboot uboot.S uboot.bin uboot.netx +uboot.map System.map Module.symvers ARCH diff --git a/Makefile b/Makefile index b70f877e19..74bee53615 100644 --- a/Makefile +++ b/Makefile @@ -298,6 +298,8 @@ CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -Os -pipe AFLAGS := -D__ASSEMBLY__ +LDFLAGS := -Map uboot.map + # Read KERNELRELEASE from include/config/kernel.release (if it exists) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) -- cgit v1.2.3