This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: XCOFF 64 function address wrong?
> 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 <david@allinea.com>