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

Re: Location of init_task_union

To: "Ralf Baechle" <ralf@uni-koblenz.de>
Subject: Re: Location of init_task_union
From: "Bradley D. LaRonde" <brad@ltc.com>
Date: Tue, 23 Nov 1999 17:21:12 -0500
Cc: <linux-mips@fnet.fr>
References: <007801bf3500$90edf810$b8119526@ltc.com> <19991123230824.E16508@uni-koblenz.de>
----- Original Message -----
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Bradley D. LaRonde <brad@ltc.com>
Cc: <linux-mips@fnet.fr>
Sent: Tuesday, November 23, 1999 5:08 PM
Subject: Re: Location of init_task_union


> On Mon, Nov 22, 1999 at 10:45:13AM -0500, Bradley D. LaRonde wrote:
>
> > I'm working on mipsel execute-in-place from rom, and the location of
> > init_task_union is giving me some trouble since it is in the .text
segment.
> > 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?

Regards,
Brad

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