From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28515 invoked by alias); 1 Nov 2010 16:02:20 -0000 Received: (qmail 28466 invoked by uid 22791); 1 Nov 2010 16:02:19 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Nov 2010 16:02:15 +0000 Received: (qmail 8098 invoked from network); 1 Nov 2010 16:02:13 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Nov 2010 16:02:13 -0000 Date: Mon, 01 Nov 2010 16:02:00 -0000 From: Daniel Jacobowitz To: "Paulo J. Matos" Cc: binutils@sources.redhat.com Subject: Re: synthetic symtab on bfd Message-ID: <20101101160205.GA28366@caradoc.them.org> Mail-Followup-To: "Paulo J. Matos" , binutils@sources.redhat.com References: <86aaltkpwb.fsf@pm18pc01.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86aaltkpwb.fsf@pm18pc01.europe.root.pri> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-11/txt/msg00010.txt.bz2 On Mon, Nov 01, 2010 at 03:46:44PM +0000, Paulo J. Matos wrote: > > On bfd there's a function (which doesn't seem to be documented): > - bfd_get_synthetic_symtab > > What is this synthetic symbol table? Symbols that aren't in the object file, but BFD can infer and finds useful. For instance, most platforms don't put a symbol on each PLT entry. But disassembly is more useful if it says "branch to memcpy@plt" instead of "branch to _init - 0x54". -- Daniel Jacobowitz CodeSourcery