aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-x86_64.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-04-05 18:12:21 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-04-05 18:12:21 +0000
commitc7c7219d3a06a714e04e73ebd029811e6bd5bd37 (patch)
tree28c613b8389513b0290b88ea841b4eaaf2d89e8c /bfd/coff-x86_64.c
parentbab7ee3b3577fff3b8eb0b3fcf7554d5ac152549 (diff)
downloadgdb-c7c7219d3a06a714e04e73ebd029811e6bd5bd37.zip
gdb-c7c7219d3a06a714e04e73ebd029811e6bd5bd37.tar.gz
gdb-c7c7219d3a06a714e04e73ebd029811e6bd5bd37.tar.bz2
2009-04-05 Kai Tietz <kai.tietz@onevision.com>
* coff-x86_64.c (bfd_pe_print_pdata): Define as _bfd_pep_print_x64_pdata. * libpei.h (_bfd_pep_print_x64_pdata): Add prototype. * peXXigen.c (_bfd_pep_print_x64_pdata): New.
Diffstat (limited to 'bfd/coff-x86_64.c')
-rw-r--r--bfd/coff-x86_64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
index 78a7886..aca5c8d 100644
--- a/bfd/coff-x86_64.c
+++ b/bfd/coff-x86_64.c
@@ -711,9 +711,8 @@ coff_amd64_is_local_label_name (bfd *abfd, const char *name)
#endif /* TARGET_UNDERSCORE */
-#ifndef bfd_pe_print_pdata
-#define bfd_pe_print_pdata NULL
-#endif
+#undef bfd_pe_print_pdata
+#define bfd_pe_print_pdata _bfd_pep_print_x64_pdata
#include "coffcode.h"