This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XCOFF 64 function address wrong?


Hi David,

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?

A simple grep shows that it is defined in bfd/coff64-rs6000.c.


My config settings according
to config status are:

'--target=powerpc-ibm-aix5.2.0.0' '--with-gnu-as' '--with-gnu-ld'
'--enable-64-bit-bfd' '--program-transform-name=s,y,y,' '--srcdir=.'

The target would appear to be the problem. If the target was:


--target=powerpc64-ibm-aix5.2.0.0

then I think that it should work.

[See bfd/config.bfd for where this target is matched. Look for the targ_defvec and then compare that the list of vectors in bfd/configure.in. You want one that triggers the inclusion of coff64-rs6000].

Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]