From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28781 invoked by alias); 19 Dec 2007 16:18:04 -0000 Received: (qmail 28769 invoked by uid 22791); 19 Dec 2007 16:18:03 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 16:17:57 +0000 Received: (qmail 17898 invoked from network); 19 Dec 2007 16:17:55 -0000 Received: from unknown (HELO ?192.168.44.101?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Dec 2007 16:17:55 -0000 Message-ID: <4769442B.8070200@codesourcery.com> Date: Wed, 19 Dec 2007 16:18:00 -0000 From: Nathan Sidwell User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Nathan Sidwell , binutils Subject: Re: vxworks dynamic tls relocs References: <47399CE5.4070902@codesourcery.com> <20071113233857.GB14068@bubble.grove.modra.org> In-Reply-To: <20071113233857.GB14068@bubble.grove.modra.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/msg00113.txt.bz2 Alan Modra wrote: > On Tue, Nov 13, 2007 at 12:47:33PM +0000, Nathan Sidwell wrote: >> Nullifying the dynamic reloc seemed the simplest approach to take, rather >> than change the size of the dynamic reloc section. > > It is only marginally more difficult to do this without generating > those NONE relocs. For example, in elf32-ppc.c allocate_dynrelocs > around line 4802, add > > if (htab->is_vxworks && info->shared) 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; any clues? nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery