summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-15 23:44:10 +0000
committerDenis Vlasenko2007-03-15 23:44:10 +0000
commit84a9b8750e5a7716d145b2b8bc2a2d955fb2e122 (patch)
tree17304f6e240a5fb3aefab02a53e5263540b20dec /Makefile
parent3ce293b58560e451e908738ccf9fe5fe3314984f (diff)
downloadbusybox-84a9b8750e5a7716d145b2b8bc2a2d955fb2e122.zip
busybox-84a9b8750e5a7716d145b2b8bc2a2d955fb2e122.tar.gz
build system: produce link map. Rather useful when you
are wondering why your busybox is much bigger that you hoped for.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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