[Top] [All Lists]

Re: errno assignment in _syscall macros and glibc

To: "Ralf Baechle" <>, "Alan Cox" <>
Subject: Re: errno assignment in _syscall macros and glibc
From: "Jay Carlson" <>
Date: Fri, 30 Jun 2000 10:03:41 -0400
Cc: "Alan Cox" <>, "Andreas Jaeger" <>, "Mike Klar" <>, <>, <>, <>
References: <>
> > Sure; these days glibc is more or less synonym with libc and I was using
> > it in that sense.
> >
> > What small, portable libcs do we have available anyway?  Some mipers
> > want one.
> I've been playing with the Linux8086 libc which is tiny but not portable
> Prumpf pointed out that Cygnus newlib is designed for precisely this job.
> about 250K MIPS32 (my PDA has mips32/mips64 but not mips16 - duh!!)

Does newlib work under Linux?  I thought it was missing (for example) the
syscalls, and generally needed work to be ported to Linux.  I'm interested
in helping with this, if people are already doing it.

*BSD libc has been suggested by a few people.

BTW, MIPS32 is not a synonym for 32-bit MIPS architecture.  :-( This appears
to be the fault of marketing people.  Quoting :

The MIPS32T architecture is a superset of the previous MIPS IT and MIPS IIT
Instruction Set Architectures (ISA) and incorporates powerful new
instructions specifically for embedded applications, as well as proven
memory management and privileged mode control mechanisms previously found
only in 64-bit R4000® and R5000® MIPS® processors.

It's got conditional move, multiply/add, count leading ones/zeroes, and some
other stuff.  I don't know of any shipping PDAs using MIPS32 chips.


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