summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 08:21:46 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 08:21:46 +0000
commit89736cf64b4fac7eca7bd9ec0a56625a9c2e64b8 (patch)
treea744a1d3c9bfa8968f7e0a491e49ed9150716b64
parent2ed1ec2317b32a5256f1e88540a70eb10cc1465a (diff)
Add comment why --gc-sections is ignored
-rw-r--r--Rules.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 13baf6b92..947f006f7 100644
--- 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
+# binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok
#LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections)
ifeq ($(UCLIBC_BUILD_RELRO),y)