[Top] [All Lists]

Re: recent binutils and mips64-linux

To: Thiemo Seufer <>
Subject: Re: recent binutils and mips64-linux
From: "Zack Weinberg" <>
Date: Tue, 23 Sep 2003 13:06:03 -0700
Cc: Eric Christopher <>, Alexandre Oliva <>, "Maciej W. Rozycki" <>, Atsushi Nemoto <>,,
In-reply-to: <> (Thiemo Seufer's message of "Tue, 23 Sep 2003 22:03:37 +0200")
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <> <>
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
Thiemo Seufer <> writes:

> Zack Weinberg wrote:
>> Maybe what you really want is an -mdata-model=kernel switch (or some
>> such spelling)
> Well, an ELF64 kernel loaded in the 64bit address space is also legal,
> and desireable on some (bigger) hardware. Btw, it would have to be
> -mtext-model=kernel, the data is the same. :-)

Well, you wouldn't compile such a kernel with that switch.  Maybe
spelling it -mtext-model=kseg0 would be more descriptive.

>> that tells gcc to do the right thing in the first place?
> Gcc still generates MIPS assembler macros, so such a switch would
> do nothing yet. Gcc should be changed to do the expansion itself
> (and improve code quality by that), but that's a much larger task.

Gcc can at least pass the setting along to the assembler (which would
have to grow such an option as well, either as a command line switch
or (preferred) a .directive).


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