[PATCH] PPC enable Alitvec hardware, part 1

Jakub Jelinek jakub@redhat.com
Sun Jan 11 18:52:00 GMT 2004


On Sun, Jan 11, 2004 at 12:45:16PM -0600, Steve Munroe wrote:
> 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.

The type struct rtld_global is defined in <ldsodefs.h>, not rtld.c.

	Jakub



More information about the Libc-hacker mailing list