OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
167aadc
)
Add --gc-sections, saves 2k on libc.so
author
Peter S. Mazinger
<ps.m@gmx.net>
Fri, 3 Mar 2006 18:49:40 +0000
(18:49 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Fri, 3 Mar 2006 18:49:40 +0000
(18:49 -0000)
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
f31475e
..
7c84a4e
100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-358,6
+358,7
@@
endif
#CFLAGS += $(call check_gcc,-std=c99,)
LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc
+LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections,)
ifeq ($(UCLIBC_BUILD_RELRO),y)
LDFLAGS_NOSTRIP+=-z relro