[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1157988838.3516.7.camel@c-67-169-176-11.hsd1.ca.comcast.net>
Date: Mon, 11 Sep 2006 08:33:57 -0700
From: Daniel Walker <dwalker@...sta.com>
To: David Howells <dhowells@...hat.com>
Cc: Ingo Molnar <mingo@...e.hu>, torvalds@...l.org, akpm@...l.org,
benh@...nel.crashing.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] FRV: Permit __do_IRQ() to be dispensed with
On Mon, 2006-09-11 at 10:47 +0100, David Howells wrote:
> Ingo Molnar <mingo@...e.hu> 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.
>
> It's easy. It's already possible with FRV. Just add the attached patch and
> enable the new option. However, you also need to compile without debugging
> code, otherwise it has little effect. I think stabs links bring stuff in or
> something.
>
It's a wide spread problem so I think something more generic is
appropriate.
Does the code in Marcelo's patch make sense for FRV, or vis-versa?
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