From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16173 invoked by alias); 9 Feb 2005 17:24:11 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 16109 invoked from network); 9 Feb 2005 17:24:02 -0000 Received: from unknown (205.217.158.180) by sourceware.org with QMTP; 9 Feb 2005 17:24:02 -0000 Received: (qmail 29803 invoked by uid 10); 9 Feb 2005 17:24:02 -0000 Received: (qmail 7648 invoked by uid 500); 9 Feb 2005 17:23:52 -0000 Mail-Followup-To: binutils@sources.redhat.com, julian@codesourcery.com To: Julian Brown Cc: binutils@sources.redhat.com Subject: Re: [PATCH] Indicate dependency on personality routines for ARM EHABI References: <420A38B6.3010609@codesourcery.com> <420A43C8.5090008@codesourcery.com> From: Ian Lance Taylor Date: Wed, 09 Feb 2005 20:27:00 -0000 In-Reply-To: <420A43C8.5090008@codesourcery.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-02/txt/msg00173.txt.bz2 Julian Brown writes: > Perhaps it should be, and I tried it with that initially. The reason > it isn't is because elsewhere in tc-arm.c:md_apply_fix3 BFD_RELOC_NONE > seems to be used as an error indicator:- > > case BFD_RELOC_NONE: > default: > as_bad_where (fixP->fx_file, fixP->fx_line, > _("bad relocation fixup type (%d)"), fixP->fx_r_type); > > ...which was being triggered when that relocation type was requested > with fix_new(), I think. Is there another way around that? That seems to be a use strictly internal to tc-arm.c, so I would expect that it can be handled differently in that file. For example, perhaps you could use BFD_RELOC_UNUSED, or perhaps you could add a field to the reloc field of struct arm_it. Ian