bring mips*-linux back to a buildable state

Alexandre Oliva aoliva@redhat.com
Tue Jul 20 09:17:00 GMT 2004


On Jul 19, 2004, Andreas Jaeger <aj@suse.de> wrote:

> Alexandre Oliva <aoliva@redhat.com> writes:
>> These patches gets all 3 ABIs of mips64-linux to build and work again.

> Can you send them separtly, so that it's easier to comment on them?

The kernel tree I was using didn't define __NR_semtimedop nor
__NR_ipc, so linux/semtimedop.c didn't work.  I figured it would be
nice to have code that would work with whatever mips64 kernel
developers decided to implement (I don't know what it was), with a
fallback to older kernels that didn't have either.  If you know what
mips64 linux ended up using, feel free to simplify the code
accordingly.  Ideally, this patch to get semtimedop to adapt to
whatever the kernel has to offer should be pushed to the generic linux
code, but I thought I'd test the waters with a port that actually
needed the change first.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips64-semtimedop.patch
Type: text/x-patch
Size: 1930 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040720/682bd25e/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Libc-alpha mailing list