From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9560 invoked by alias); 9 Mar 2005 14:54:39 -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 9338 invoked from network); 9 Mar 2005 14:54:29 -0000 Received: from unknown (HELO webmail.streamline-computing.com) (82.133.39.164) by sourceware.org with SMTP; 9 Mar 2005 14:54:29 -0000 Received: from [82.133.39.162] (helo=delmo.priv.wark.uk.streamline-computing.com) by webmail.streamline-computing.com with asmtp (Exim 3.35 #1 (Debian)) id 1D92a9-0006LZ-00; Wed, 09 Mar 2005 14:54:41 +0000 Subject: Re: XCOFF 64 function address wrong? From: David Lecomber To: Nick Clifton Cc: binutils@sources.redhat.com In-Reply-To: <422EF4B5.2000204@redhat.com> References: <1110356435.7150.2.camel@cpc2-oxfd5-5-0-cust103.oxfd.cable.ntl.com> <422EF4B5.2000204@redhat.com> Content-Type: text/plain Date: Wed, 09 Mar 2005 14:54:00 -0000 Message-Id: <1110380006.22694.60.camel@delmo.priv.wark.uk.streamline-computing.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00275.txt.bz2 > Have a look at the function coff_print_symbol() in bfd/coffgen.c. This > is the function that is printing out the incorrect value for .main. My > guess is that for some reason XCOFF64 is not defined for your > configuration and so it is printing a 32-bit value instead of a 64-bit > value. > That's exactly right. Now where should that be getting defined? My config settings according to config status are: configured by ./configure, generated by GNU Autoconf 2.59, with options \"'--cache-file=./config.cache' '--build=powerpc-ibm-aix5.2.0.0' '--host=powerpc-ibm-aix5.2.0.0' '--target=powerpc-ibm-aix5.2.0.0' '--with-gnu-as' '--with-gnu-ld' '--enable-64-bit-bfd' '--program-transform-name=s,y,y,' '--srcdir=.' 'CC=gcc' 'CFLAGS=-g -O2 ' 'LDFLAGS=' 'build_alias=powerpc-ibm-aix5.2.0.0' 'host_alias=powerpc-ibm-aix5.2.0.0' 'target_alias=powerpc-ibm-aix5.2.0.0'\" Cheers David > Cheers > Nick -- David Lecomber