From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4233 invoked by alias); 11 Jan 2004 18:45:20 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 4217 invoked from network); 11 Jan 2004 18:45:20 -0000 Received: from unknown (HELO e1.ny.us.ibm.com) (32.97.182.101) by sources.redhat.com with SMTP; 11 Jan 2004 18:45:20 -0000 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206]) by e1.ny.us.ibm.com (8.12.10/NS PXFA) with ESMTP id i0BIjJKc485166 for ; Sun, 11 Jan 2004 13:45:19 -0500 Received: from d27mc103.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i0BIjIKs083616 for ; Sun, 11 Jan 2004 13:45:19 -0500 To: Ulrich Drepper Cc: libc-hacker@sources.redhat.com MIME-Version: 1.0 Subject: Re: [PATCH] PPC enable Alitvec hardware, part 1 Message-ID: From: Steve Munroe Date: Sun, 11 Jan 2004 18:45:00 -0000 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2004-01/txt/msg00041.txt.bz2 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