projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2008-11-20 Tristan Gingold <gingold@adacore.com>
[binutils-gdb.git]
/
bfd
/
coff-h8300.c
diff --git
a/bfd/coff-h8300.c
b/bfd/coff-h8300.c
index 0f8dbda1ea02badf01d5679cc48f109eb991e495..e2a10a6c5cedae5f476d4b6c33be510484bdc561 100644
(file)
--- a/
bfd/coff-h8300.c
+++ b/
bfd/coff-h8300.c
@@
-1,6
+1,6
@@
/* BFD back-end for Renesas H8/300 COFF binaries.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
/* BFD back-end for Renesas H8/300 COFF binaries.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
, 2008
Free Software Foundation, Inc.
Written by Steve Chamberlain, <sac@cygnus.com>.
Free Software Foundation, Inc.
Written by Steve Chamberlain, <sac@cygnus.com>.
@@
-1116,11
+1116,11
@@
h8300_reloc16_extra_cases (bfd *abfd, struct bfd_link_info *link_info,
struct h8300_coff_link_hash_table *htab;
asection *vectors_sec;
struct h8300_coff_link_hash_table *htab;
asection *vectors_sec;
- if (link_info->
hash->creator
!= abfd->xvec)
+ if (link_info->
output_bfd->xvec
!= abfd->xvec)
{
(*_bfd_error_handler)
(_("cannot handle R_MEM_INDIRECT reloc when using %s output"),
{
(*_bfd_error_handler)
(_("cannot handle R_MEM_INDIRECT reloc when using %s output"),
- link_info->
hash->creator
->name);
+ link_info->
output_bfd->xvec
->name);
/* What else can we do? This function doesn't allow return
of an error, and we don't want to call abort as that
/* What else can we do? This function doesn't allow return
of an error, and we don't want to call abort as that
@@
-1264,7
+1264,7
@@
h8300_bfd_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
/* Add the symbols using the generic code. */
_bfd_generic_link_add_symbols (abfd, info);
/* Add the symbols using the generic code. */
_bfd_generic_link_add_symbols (abfd, info);
- if (info->
hash->creator
!= abfd->xvec)
+ if (info->
output_bfd->xvec
!= abfd->xvec)
return TRUE;
htab = h8300_coff_hash_table (info);
return TRUE;
htab = h8300_coff_hash_table (info);
@@
-1429,6
+1429,11
@@
h8300_bfd_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
#define coff_bfd_link_hash_table_create h8300_coff_link_hash_table_create
#define COFF_LONG_FILENAMES
#define coff_bfd_link_hash_table_create h8300_coff_link_hash_table_create
#define COFF_LONG_FILENAMES
+
+#ifndef bfd_pe_print_pdata
+#define bfd_pe_print_pdata NULL
+#endif
+
#include "coffcode.h"
#undef coff_bfd_get_relocated_section_contents
#include "coffcode.h"
#undef coff_bfd_get_relocated_section_contents