This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Moving _etext to after all read-only sections


On Fri, Jan 19, 2001 at 03:31:55PM -0800, Jason R Thorpe wrote:
> Something else caused me to notice this, but it seems like a bug
> in any case.
> 
> In Binutils 2.9 and also in Binutils-current, _etext is placed
> after .text but before .rodata, etc.  This is fine for normal
> applications (the read-only sections are gathered together in
> a single, contiguous read-only section from the point of view
> of a program loader).  But for e.g. an operating system kernel,

I don't think elf.sc is for kernel. You should use a different
linker script for kernel.


H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]