From 89736cf64b4fac7eca7bd9ec0a56625a9c2e64b8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 10 Mar 2006 08:21:46 +0000 Subject: Add comment why --gc-sections is ignored --- Rules.mak | 1 + 1 file changed, 1 insertion(+) (limited to 'Rules.mak') 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) -- cgit v1.2.3