(coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that
it is actually picked up.
This commit is contained in:
parent
88791d55d2
commit
3e25964f9b
2 changed files with 7 additions and 3 deletions
|
@ -26,6 +26,9 @@
|
||||||
* coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from
|
* coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from
|
||||||
BFD_ASSERT.
|
BFD_ASSERT.
|
||||||
|
|
||||||
|
* coff-tic4x.c (coff_rtype_to_howto): Move definition before
|
||||||
|
inclusion of coffcode.h so that it is actually picked up.
|
||||||
|
|
||||||
2005-02-12 Alan Modra <amodra@bigpond.net.au>
|
2005-02-12 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
|
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
|
||||||
|
|
|
@ -68,6 +68,10 @@ ticoff_bfd_is_local_label_name (abfd, name)
|
||||||
The COFF1 and COFF0 vectors use custom _bad_format_hook procs
|
The COFF1 and COFF0 vectors use custom _bad_format_hook procs
|
||||||
instead of setting BADMAG. */
|
instead of setting BADMAG. */
|
||||||
#define BADMAG(x) COFF2_BADMAG(x)
|
#define BADMAG(x) COFF2_BADMAG(x)
|
||||||
|
|
||||||
|
#undef coff_rtype_to_howto
|
||||||
|
#define coff_rtype_to_howto coff_tic4x_rtype_to_howto
|
||||||
|
|
||||||
#include "coffcode.h"
|
#include "coffcode.h"
|
||||||
|
|
||||||
static bfd_reloc_status_type
|
static bfd_reloc_status_type
|
||||||
|
@ -172,9 +176,6 @@ tic4x_lookup_howto (internal, dst)
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef coff_rtype_to_howto
|
|
||||||
#define coff_rtype_to_howto coff_tic4x_rtype_to_howto
|
|
||||||
|
|
||||||
static reloc_howto_type *
|
static reloc_howto_type *
|
||||||
coff_tic4x_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
|
coff_tic4x_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
|
||||||
bfd *abfd ATTRIBUTE_UNUSED;
|
bfd *abfd ATTRIBUTE_UNUSED;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue