This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mipseb-linux support (sgi indy's)
- To: job at piquin dot uchicago dot edu, egcs-patches at cygnus dot com
- Subject: Re: mipseb-linux support (sgi indy's)
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 18 Dec 1998 13:52:25 -0800
- Cc: debian-mips at lists dot debian dot org
- References: <199812180203.UAA06919@piquin.uchicago.edu>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Thu, Dec 17, 1998 at 07:55:53PM -0600, job bogan wrote:
> One thing that's somewhat questionable about this patch. I set the
> default cpu to a R4000. i think that will still work on R3000s, but i'm
> not sure. For the moment, it;s a moot point since i think there are no
> R3000 big endian machines that will boot linux.
You may be right -- all of the mips1 machines I could find
examining the kernel source were little endian.
What I am more concerned about is the practice of copying a header and
tweeking one or two items within. I would much prefer to see configure
set target_cpu_default to include MASK_BIG_ENDIAN, and to use one common
Linux include which defines as little as possible over the standard ELF
include.
I would personally like to see the TARGET_ENDIAN_DEFAULT that currently
exists in config/mips/ replaced with just TARGET_CPU_DEFAULT, and all
then-extraneous header files removed.
> If this is deemed large enough to require a formal copyright assignment,
> that's no big deal. just let me know.
It will require an assignment.
r~