[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200709051940.15653.vda.linux@googlemail.com>
Date: Wed, 5 Sep 2007 19:40:15 +0100
From: Denys Vlasenko <vda.linux@...glemail.com>
To: sam@...nborg.org
Cc: kai@...maschewski.name, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] build system: section garbage collection for vmlinux
On Wednesday 05 September 2007 14:55, Denys Vlasenko wrote:
> Part 3:
>
> Makefile:
> init/Kconfig:
> add config DISCARD_UNUSED_SECTIONS with appropriate
> big scary warning. It enables gcc and ld options
> for section garbage collection.
At it typically happens, last-minute "obviously correct" change was a mistake.
This doesn't work as intended:
LDFLAGS_vmlinux += $(call ld-option, --gc-sections)
With the above line, --gc-sections doesn't get added,
and vmlinux is not garbage collected.
It must be
LDFLAGS_vmlinux += --gc-sections
Sorry.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists