lkml.org 
[lkml]   [2014]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] kbuild: Remove relocations from kallsyms table
On Tue, Feb 18, 2014 at 06:28:54AM -0800, H. Peter Anvin wrote:
> On 02/18/2014 06:24 AM, Andi Kleen wrote:
> > From: Andi Kleen <ak@linux.intel.com>
> >
> > Remove the ELF relocations from the kallsyms_address[] table.
> > Instead we just store offsets to _text and relocate that while
> > accessing the kallsyms table. This is done with a new
> > kallsyms_offsets[] table. With these changes .tmp_kallsyms*.o
> > becomes relocation free.
> >
> > In theory this would also allow to shrink the kallsyms table
> > on 64bit by using offsets.
> >
>
> Why not do that, then?

I tried it once, but it didn't boot for some reason. Didn't have
time to track it down so I removed it. Could be done as followon
work.

-Andi


\
 
 \ /
  Last update: 2014-02-18 20:41    [W:0.587 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site