From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5230 invoked by alias); 27 Mar 2005 21:38:19 -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 5187 invoked from network); 27 Mar 2005 21:38:16 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 27 Mar 2005 21:38:16 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DFfTO-00083o-4N; Sun, 27 Mar 2005 16:39:06 -0500 Date: Mon, 28 Mar 2005 10:17:00 -0000 From: Daniel Jacobowitz To: Julian Brown Cc: binutils@sources.redhat.com Subject: Re: [PATCH] Fix type and alignment of ARM/Thumb EABI mapping symbols Message-ID: <20050327213906.GA30870@nevyn.them.org> Mail-Followup-To: Julian Brown , binutils@sources.redhat.com References: <424716CD.5030909@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424716CD.5030909@codesourcery.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00807.txt.bz2 On Sun, Mar 27, 2005 at 09:25:49PM +0100, Julian Brown wrote: > In the interest of preserving existing behaviour, I have fixed this by > adding a new disassemble_info hook which allows the symbol table used > for disassembly to have a target-specific hook for altering each symbol > (or remove it) in the remove_useless_symbols function. This sets the > BSF_FUNCTION flag for mapping symbols, which makes things behave the way > they used to, and possibly provides useful functionality for other > platforms as well. How about checking bfd_is_target_special_symbol in remove_useless_syms? -- Daniel Jacobowitz CodeSourcery, LLC