[lkml]   [2009]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 1/3] Make section names compatible with -ffunction-sections -fdata-sections
On Thu, Apr 23, 2009 at 04:49:32PM -0400, Tim Abbott wrote:
> The purpose of this patch is to make it possible to build the kernel
> with "gcc -ffunction-sections -fdata-sections". This is a key step
> towards being able to compile the kernel using the --gc-sections
> linker option, which can be used to decrease the vmlinux size by
> garbage collecting unused functions. Also, Ksplice's 'run-pre
> matching' process is much simpler if the original kernel was compiled
> with -ffunction-sections and -fdata-sections.

> Signed-off-by: Tim Abbott <>
> Signed-off-by: Anders Kaseorg <>

As this is the only really invasive part of the patch, it would certainly
be good to see this merged early.

Acked-by: Paul Mundt <>

 \ /
  Last update: 2009-04-24 02:25    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean