linux-mips-fnet
[Top] [All Lists]

Re: Location of init_task_union

To: "Bradley D. LaRonde" <brad@ltc.com>
Subject: Re: Location of init_task_union
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Tue, 23 Nov 1999 23:21:10 +0100
Cc: linux@engr.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu
In-reply-to: <01f101bf3601$0cf42fa0$b8119526@ltc.com>
References: <007801bf3500$90edf810$b8119526@ltc.com> <19991123230824.E16508@uni-koblenz.de> <01f101bf3601$0cf42fa0$b8119526@ltc.com>
On Tue, Nov 23, 1999 at 05:21:12PM -0500, Bradley D. LaRonde wrote:

> > > I can easily move it to .data or .data.init_task like i386, but I'm
> > > wondering if there is some special reason why it is in .text on mips and
> > > .data on i386.
> >
> > Doesn't matter when it ends up, it only needs to be 8kb aligned which is
> > why we have to do such silly things.
> 
> i386 does it by putting it in it's own segment, then aligning that segment
> in the linker script.  Can we switch to that way?

Yes.  I already did this in my private source for another, MIPS64 related
reason.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>