lkml.org 
[lkml]   [2009]   [Jul]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 5 Jul 2009 00:37:17 +0900
FromPaul Mundt <>
SubjectRe: [RFC PATCH] linker script: unify usage of discard definition
On Sat, Jul 04, 2009 at 01:51:04AM -0400, Mike Frysinger wrote:
> On Fri, Jul 3, 2009 at 19:37, Tejun Heo wrote:
> > +/*
> > + * DISCARDS must be the last and archs which want some of the default
> > + * discarded sections in the kernel image can do so by putting them in
> > + * earlier section definition.
> > + */
>
> i would add to the comment that some people want to discard exit
> text/data at runtime rather than link time due to cross-section
> references such as alt instructions, bug table, eh_frame, etc...
>
> otherwise, looks good to me. thanks !
>
> Acked-by: Mike Frysinger <vapier@gentoo.org>

Agreed, as this was a source of confusion initially it is certainly worth
documenting the next time someone is scratching their head thinking about
the variations ;-)

Acked-by: Paul Mundt <lethal@linux-sh.org>


\
 
 \ /
  Last update: 2009-07-04 17:39    [from the cache]
©2003-2009