[patch]: dump of PE+ x64 pdata section

Dave Korn dave.korn.cygwin@googlemail.com
Sun Apr 5 22:04:00 GMT 2009


Jan Kratochvil wrote:
> Hi Kai,
> 
> getting now on Fedora 10 x86_64:
> 
> $ ./configure; make

  You didn't use --enable-targets=all, but you're still getting a PE backend
in your BFD?  That's odd.

> ../bfd/.libs/libbfd.a(pex64igen.o): In function `_bfd_pep_print_x64_pdata':
> .../binutils-cvs/bfd/pex64igen.c:1901: multiple definition of `_bfd_pep_print_x64_pdata'
> ../bfd/.libs/libbfd.a(peigen.o):.../binutils-cvs/bfd/peigen.c:1901: first defined here

  Argh.  Try changing the definition in peXXigen.c from

_bfd_pep_print_x64_pdata

to

_bfd_XX_print_x64_pdata.

  It might also need wrapping in a #ifdef so that it only gets compiled for
x64 targets.

  Sorry, can't help more right away; I just broke my world after a bad system
update and am still scrambling to be able to build anything right now :-(

    cheers,
      DaveK



More information about the Binutils mailing list