[PATCH] PPC enable Alitvec hardware, part 1

Steve Munroe sjmunroe@us.ibm.com
Sun Jan 11 18:45:00 GMT 2004


Ulrich Drepper wrote:

> Steve Munroe wrote:
>
> > GL(dl_hwcap) is not very asm friendly.
>
> And the problem is?  Automatically define a symbol with the offset 
> in the struct.  This is done similarly in several places.

You mean like ./libc23/nptl/sysdeps/powerpc/tcb-offsets.sym. This works 
because the tcb is defined in tls.h. But struct rtld_global is defined 
inline in rtld.c! Can this stuct be moved to a header? Seems like with the 
initialization and the #include dl-procinfo.c this would ripple across 
several arches.

Steven J. Munroe
Power Linux Toolchain Architect
IBM Corporation, Linux Technology Center



More information about the Libc-hacker mailing list