From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31275 invoked by alias); 25 Apr 2006 17:12:23 -0000 Received: (qmail 31263 invoked by uid 22791); 25 Apr 2006 17:12:22 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 25 Apr 2006 17:12:20 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k3PHCJVL025519; Tue, 25 Apr 2006 13:12:19 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k3PHCIfb026881; Tue, 25 Apr 2006 13:12:18 -0400 Received: from [10.32.68.9] (vpn-68-9.surrey.redhat.com [10.32.68.9]) by pobox.surrey.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k3PHCHAv016917; Tue, 25 Apr 2006 18:12:17 +0100 Message-ID: <444E5871.2000202@redhat.com> Date: Tue, 25 Apr 2006 17:31:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: diz rael CC: binutils@sourceware.org Subject: Re: reading elf file (avr target) References: <20060411144330.54523.qmail@web52705.mail.yahoo.com> In-Reply-To: <20060411144330.54523.qmail@web52705.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00344.txt.bz2 Hi Diz, > I'm trying to get the symbol table out of an object > file. I built libbfd from binutils 2.16.1 (tried 2.15 > as well) using --enable-target=avr Err did you mean "--enable-target=avr-elf" ? > file = bfd_openr(f, "binary"); Why are you using "binary" here ? Shouldn't it be "avr-elf" ? Cheers Nick