diff options
author | H.J. Lu <hjl@lucon.org> | 2009-04-06 16:48:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2009-04-06 16:48:36 +0000 |
commit | e16bc175c8a566bc696177f425329d581f5b42d1 (patch) | |
tree | 7f8e4c7c43c030d639ed51160a9bb982750af0ea /bfd/peXXigen.c | |
parent | 6c145c1525fb3c603aa475ef57ccf593c32b1aaf (diff) | |
download | binutils-redhat-e16bc175c8a566bc696177f425329d581f5b42d1.tar.gz |
2009-04-06 H.J. Lu <hongjiu.lu@intel.com>
* coff-x86_64.c (bfd_pe_print_pdata): Defined to
_bfd_pex64_print_pdata only if PE is defined.
* libpei.h (_bfd_pep_print_x64_pdata): Renamed to ...
(_bfd_pex64_print_pdata): This.
* peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ...
(_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64
is defined.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r-- | bfd/peXXigen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index a95af9cd86..246de27c23 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -1895,9 +1895,10 @@ _bfd_XX_print_ce_compressed_pdata (bfd * abfd, void * vfile) #undef PDATA_ROW_SIZE } +#ifdef COFF_WITH_pex64 /* The PE+ x64 variant. */ bfd_boolean -_bfd_pep_print_x64_pdata (bfd *abfd, void *vfile) +_bfd_pex64_print_pdata (bfd *abfd, void *vfile) { # define PDATA_ROW_SIZE (3 * 4) FILE *file = (FILE *) vfile; @@ -1974,6 +1975,7 @@ _bfd_pep_print_x64_pdata (bfd *abfd, void *vfile) return TRUE; #undef PDATA_ROW_SIZE } +#endif #define IMAGE_REL_BASED_HIGHADJ 4 static const char * const tbl[] = |