[uClibc] Re: non-PIC ARM assembly

Joakim Tjernlund joakim.tjernlund at lumentis.se
Fri Jun 10 09:03:58 UTC 2005

> On Fri, 10 Jun 2005, Peter S. Mazinger wrote:
> > - copied __syscall_error.c from powerpc and added to Makefile (where to 
> > 	add attribute_hidden?)
> attached attribute_hidden for arm/mips/powerpc

This and the previous patch looks much better :)
Regarding attribute_hidden, this attribute makes the function local to the lib
and therefore you done need to call it via the PLT.
Please remove #ifdef _PIC_ for __syscall_error in the affected
asm files(look in my previous post).

I am not convinced that the error path is correct, maybe a simple test or two could
confirm that.

A related note, you should be able to copy the start.S file from glibc
to crt1.S with very little effort. In principle, just change a few
identifer names.


More information about the uClibc mailing list