From 84a9b8750e5a7716d145b2b8bc2a2d955fb2e122 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 15 Mar 2007 23:44:10 +0000 Subject: build system: produce link map. Rather useful when you are wondering why your busybox is much bigger that you hoped for. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ddc8b25..71ebf8f 100644 --- a/Makefile +++ b/Makefile @@ -563,7 +563,7 @@ busybox-all := $(core-y) $(libs-y) # May be overridden by arch/$(ARCH)/Makefile quiet_cmd_busybox__ ?= LINK $@ cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) \ - -o $@ \ + -o $@ -Wl,-M \ -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \ -Wl,--start-group $(busybox-all) -Wl,--end-group -- cgit v1.1