This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: enable n32 and n64, and move o32 into mips/mips32
- From: Andreas Jaeger <aj at suse dot de>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 15 Mar 2003 07:28:59 +0100
- Subject: Re: enable n32 and n64, and move o32 into mips/mips32
- References: <orwuj16fmx.fsf@free.redhat.lsd.ic.unicamp.br>
Alexandre Oliva <aoliva at redhat dot 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 at redhat dot 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 at suse dot de
private aj at arthur dot inka dot de
http://www.suse.de/~aj