enable n32 and n64, and move o32 into mips/mips32

Andreas Jaeger aj@suse.de
Sat Mar 15 06:29:00 GMT 2003


Alexandre Oliva <aoliva@redhat.com> writes:

> This is the last patch of the batch, hopefully keeping the o32 port
> functional, while enabling people to try to build n32 and n64.  I

Hopefully? I require that you test it and fix any breakage.

> still intend to make some changes to the top-level configuration.  In
> particular, I remember Roland didn't quite like the introduction of
> flags_for_cc, so I'm probably going to take that out of the top level
> and move it into linux/mips/configure.in or so.  As for the
> configuration triplets, they're changing as well.  Ben Elliston didn't
> quite like the idea of adding mips64{n32,n64,o32}-linux-gnu to
> config.{guess,sub}, and suggested using the already-supported and
> somewhat more standard specification of the abi after linux-gnu.
>
> Another change I'd love to make is to drop all of the little-endian
> bits/endian.h, and use a single endian.h that decides endianness based
> on compiler pre-defined macros, just like the ARM and the SH.  Any
> objections?

No, that's fine.

>
> Index: ChangeLog
> 2003-03-14  Alexandre Oliva  <aoliva@redhat.com>
>
> 	* configure.in (flags_for_cc): New variable, appended to CC.
> 	Set on mips64*.
> 	(machine): Set to mips/mips32 for mips-linux.
> 	* configure: Rebuilt.
> 	* sysdeps/mips/Implies: Moved wordsize-32 to...
> 	* sysdeps/mips/mips32/Implies: New file.
> 	* sysdeps/mips/mipsel/bits/endian.h: Moved to...
> 	* sysdeps/mips/mips32/el/bits/endian.h.
> 	* sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
> 	* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
> 	* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
>

The sysdeps/ fixes are ok from my side,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-alpha mailing list