Re: [PATCH] fix insidious bug with init section identification in the kernel module loader

From: James Bottomley (James.Bottomley@steeleye.com)
Date: Thu Jun 12 2003 - 21:57:04 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:35 EST