summaryrefslogtreecommitdiff
path: root/bfd/coff-tic4x.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-11 17:06:17 +0000
committerNick Clifton <nickc@redhat.com>2005-02-11 17:06:17 +0000
commit6c69d5f1b31323061525fe05e21d8aef2c1fbe76 (patch)
treee9f90981ef2b901eadc197a01b4531026aec241f /bfd/coff-tic4x.c
parent18b2dbf97f3693eb3e89d1a6025e1406bdb58942 (diff)
downloadbinutils-redhat-6c69d5f1b31323061525fe05e21d8aef2c1fbe76.tar.gz
(coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that
it is actually picked up.
Diffstat (limited to 'bfd/coff-tic4x.c')
-rw-r--r--bfd/coff-tic4x.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/coff-tic4x.c b/bfd/coff-tic4x.c
index 708e6264ca..07f167d282 100644
--- a/bfd/coff-tic4x.c
+++ b/bfd/coff-tic4x.c
@@ -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;