From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17993 invoked by alias); 22 Dec 2007 09:17:02 -0000 Received: (qmail 17983 invoked by uid 22791); 22 Dec 2007 09:17:01 -0000 X-Spam-Check-By: sourceware.org Received: from omta03sl.mx.bigpond.com (HELO omta03sl.mx.bigpond.com) (144.140.92.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Dec 2007 09:16:50 +0000 Received: from oaamta06sl.mx.bigpond.com ([58.174.193.185]) by omta03sl.mx.bigpond.com with ESMTP id <20071222091647.YQLV18906.omta03sl.mx.bigpond.com@oaamta06sl.mx.bigpond.com> for ; Sat, 22 Dec 2007 09:16:47 +0000 Received: from bubble.grove.modra.org ([58.174.193.185]) by oaamta06sl.mx.bigpond.com with ESMTP id <20071222091646.WSEK11935.oaamta06sl.mx.bigpond.com@bubble.grove.modra.org>; Sat, 22 Dec 2007 09:16:46 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 9D2FB32B226; Sat, 22 Dec 2007 19:46:46 +1030 (CST) Date: Sat, 22 Dec 2007 09:17:00 -0000 From: Alan Modra To: Nathan Sidwell Cc: binutils Subject: Re: vxworks dynamic tls relocs Message-ID: <20071222091646.GA9580@bubble.grove.modra.org> Mail-Followup-To: Nathan Sidwell , binutils References: <47399CE5.4070902@codesourcery.com> <20071113233857.GB14068@bubble.grove.modra.org> <4769442B.8070200@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4769442B.8070200@codesourcery.com> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00135.txt.bz2 On Wed, Dec 19, 2007 at 04:17:47PM +0000, Nathan Sidwell wrote: > sorry for the late followup. I tried your suggestion and it doesn't appear > to work. the problem is that location in allocate_dynrelocs is never > reached. We exit earlier: > if (eh->dyn_relocs == NULL) > return TRUE; Hmm. I missed another place that needs to handle .tls_vars specially. I'm guessing that all your .tls_vars dynamic relocs are on local syms, and counted via local_dynrel. You'll need to throw away some relocs around line 4938 of elf32-ppc.c -- Alan Modra Australia Development Lab, IBM