[patch nptl] i386 support somewhat usable

Timo Teräs timo.teras at iki.fi
Thu Apr 9 06:56:23 UTC 2009


Hi,

I took a quick stab at making i386 work on the nptl branch.

What is done:
1. i386 specific makefiles
2. uclibc headers providing the syscall wrappers were updated
3. updated some files from newer nptl snapshot
4. added ld.so support for tls relocations
5. tried to clean up some files for not defining duplicate symbols

What I'm not all sure about:
1. if e.g. clone.S update is correct; didn't see what where the
   original modifications for uclibc, just overwrote it with
   a new version
2. if libc is built properly with all the right objects from nptl

Basic stuff seems to work for me. A large portion of the nptl
test cases also run. But e.g. cancellations do not work.

Patch is at:
http://solidboot.com/~fabled/uclibc-nptl-i386.diff

And updates to test cases at:
http://solidboot.com/~fabled/uclibc-nptl-test.diff

Cheers,
  Timo


More information about the uClibc mailing list