[uClibc] Re: non-PIC ARM assembly

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Thu Jun 9 21:48:12 UTC 2005

> You are completely right about non-PIC code, clone.S/mmap64.S/vfork.S 
> produce. Currently in gentoo-land we have 2 corrections, one done by 
> Mike Frysinger (vapier), the other by me. Haven't tested Mike's version, 
> mine is running on a v4 LE removing all off the text relocations from 
> uclibc. I attach both of them, if you have arm asm knowledge, please 
> review them, correct them, and provide them ;)

Nope, this does not look right. Don't think you can have
a local version of errno in those assembler files. I think the best way is
to copy powerpc/__syscall_error.c(add a attribute_hidden while you are at it).
The rest you have to figure out.

More information about the uClibc mailing list