aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-maxq.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-maxq.c')
-rw-r--r--bfd/coff-maxq.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/coff-maxq.c b/bfd/coff-maxq.c
index 927ba99..165d7c8 100644
--- a/bfd/coff-maxq.c
+++ b/bfd/coff-maxq.c
@@ -1,5 +1,5 @@
/* BFD back-end for MAXQ COFF binaries.
- Copyright 2004, 2007 Free Software Foundation, Inc.
+ Copyright 2004, 2007, 2008 Free Software Foundation, Inc.
Contributed by Vineet Sharma (vineets@noida.hcltech.com) Inderpreet S.
(inderpreetb@noida.hcltech.com)
@@ -427,6 +427,10 @@ maxq_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED, const char *r_name)
#define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) \
cache_ptr->addend = ext_reloc.r_offset;
+#ifndef bfd_pe_print_pdata
+#define bfd_pe_print_pdata NULL
+#endif
+
#include "coffcode.h"
#ifndef TARGET_UNDERSCORE