X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fcoff-tic4x.c;h=da6184e68cb0182959403e268ac9d3cb52e7af08;hb=cb2d1ef2ae91983d0294ccdf71341f25badd168e;hp=708e6264caa31b0005bf7297326b6ee0faec698b;hpb=5a5b96513fccf63361ae794a2d9464510d8c74bc;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/coff-tic4x.c b/bfd/coff-tic4x.c index 708e6264ca..da6184e68c 100644 --- a/bfd/coff-tic4x.c +++ b/bfd/coff-tic4x.c @@ -1,5 +1,5 @@ /* BFD back-end for TMS320C4X coff binaries. - Copyright 1996, 1997, 1998, 1999, 2000, 2002, 2003 + Copyright 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005 Free Software Foundation, Inc. Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz) @@ -68,6 +68,10 @@ ticoff_bfd_is_local_label_name (abfd, name) The COFF1 and COFF0 vectors use custom _bad_format_hook procs instead of setting BADMAG. */ #define BADMAG(x) COFF2_BADMAG(x) + +#undef coff_rtype_to_howto +#define coff_rtype_to_howto coff_tic4x_rtype_to_howto + #include "coffcode.h" static bfd_reloc_status_type @@ -172,9 +176,6 @@ tic4x_lookup_howto (internal, dst) abort(); } -#undef coff_rtype_to_howto -#define coff_rtype_to_howto coff_tic4x_rtype_to_howto - static reloc_howto_type * coff_tic4x_rtype_to_howto (abfd, sec, rel, h, sym, addendp) bfd *abfd ATTRIBUTE_UNUSED;