X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=bfd%2Fpe-x86_64.c;h=fef664766acc84282032c293669396681d63a3c1;hb=acac2e457a32e84814c212183ab2824869a27b5b;hp=16b13ecc93df9ae453c1a028c9a63590d08ac160;hpb=167ad85bf06582759e8dfe021aac9da79b81340d;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/pe-x86_64.c b/bfd/pe-x86_64.c index 16b13ecc93..fef664766a 100644 --- a/bfd/pe-x86_64.c +++ b/bfd/pe-x86_64.c @@ -1,5 +1,5 @@ /* BFD back-end for Intel/AMD x86_64 PECOFF files. - Copyright (C) 2006-2014 Free Software Foundation, Inc. + Copyright (C) 2006-2016 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -23,7 +23,7 @@ #include "sysdep.h" #include "bfd.h" -#define TARGET_SYM x86_64pe_vec +#define TARGET_SYM x86_64_pe_vec #define TARGET_NAME "pe-x86-64" #define COFF_WITH_PE #define COFF_WITH_pex64 @@ -58,12 +58,18 @@ { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi."), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 } +/* The function pex64_bfd_print_pdata is implemented in pei-x86_64.c + source, but has be extended to also handle pe objects. */ +extern bfd_boolean pex64_bfd_print_pdata (bfd *, void *); + +#define bfd_pe_print_pdata pex64_bfd_print_pdata + #include "coff-x86_64.c" /* Entry for big object files. */ const bfd_target -x86_64pe_bigobj_vec = +x86_64_pe_be_vec = { "pe-bigobj-x86-64", /* Name. */ bfd_target_coff_flavour,