[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1157898878.3516.2.camel@c-67-169-176-11.hsd1.ca.comcast.net>
Date: Sun, 10 Sep 2006 07:34:37 -0700
From: Daniel Walker <dwalker@...sta.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: David Howells <dhowells@...hat.com>, torvalds@...l.org,
akpm@...l.org, benh@...nel.crashing.org,
linux-kernel@...r.kernel.org, uclinux-dev@...inux.org
Subject: Re: [PATCH 2/3] FRV: Permit __do_IRQ() to be dispensed with
On Sat, 2006-09-09 at 07:12 +0200, Ingo Molnar wrote:
> The real solution would be to use gcc -ffunction-sections plus ld
> --gc-sections to automatically get rid of unused global functions, at
> link time. I'm wondering how hard it would be to enhance kbuild to do
> that - x86_64 already uses -ffunction-sections (if CONFIG_REORDER), so
> the big question is how usable is ld --gc-sections. Such a feature would
> be quite important for embedded systems (and for RAM footprint in
> general) as it would save a significant amount of .text and .data.
A patch to do this was submitted already by Marcelo Tosatti ..
http://lkml.org/lkml/2006/6/4/169
Daniel
-
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