lkml.org 
[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] fix insidious bug with init section identification in the kernel module loader
From
Date
On Thu, 2003-06-12 at 20:18, Rusty Russell wrote:
> In message <1055452158.2117.52.camel@mulgrave> you write:
> > This problem manifests itself nastily on parisc, where the linker seems
> > to generate large number of elf sections, often one for each non static
> > function, with names like
> >
> > .text.<function name>
>
> -ffunction-sections, perhaps?

Yes, we only have nineteen bit branch relocations on the parisc1.1, so
we usually have to interleave trampoline stubs in between the function
sections to get from one end of the kernel to the other.

I suppose as long as we never get a module bigger than 256k, we don't
actually need to split modules up this way...

James


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.129 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site