aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-mcore.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-21 14:25:09 +0000
committerNick Clifton <nickc@redhat.com>2001-09-21 14:25:09 +0000
commit1e738b87c87fe468ba6dd11f8e94e937d0ee665f (patch)
tree3b3e27dbacad4771a4eaae2c0a2b191c322a0670 /bfd/coff-mcore.c
parent2ca0d95257f38e932db032b87e17a4b538e47d49 (diff)
downloadfsf-binutils-gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.zip
fsf-binutils-gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.tar.gz
fsf-binutils-gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.tar.bz2
Fix compile time warnings
Diffstat (limited to 'bfd/coff-mcore.c')
-rw-r--r--bfd/coff-mcore.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/coff-mcore.c b/bfd/coff-mcore.c
index 323bc45..9603e02 100644
--- a/bfd/coff-mcore.c
+++ b/bfd/coff-mcore.c
@@ -39,9 +39,10 @@ Boston, MA 02111-1307, USA. */
final_link routine once. */
extern boolean mcore_bfd_coff_final_link
PARAMS ((bfd *, struct bfd_link_info *));
-
+#if 0
static struct bfd_link_hash_table * coff_mcore_link_hash_table_create
PARAMS ((bfd *));
+#endif
static bfd_reloc_status_type mcore_coff_unsupported_reloc
PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
static boolean coff_mcore_relocate_section
@@ -55,7 +56,6 @@ static reloc_howto_type * coff_mcore_rtype_to_howto
static void mcore_emit_base_file_entry
PARAMS ((struct bfd_link_info *, bfd *, asection *, bfd_vma));
static boolean in_reloc_p PARAMS ((bfd *, reloc_howto_type *));
-static struct bfd_link_hash_table * coff_mcore_link_hash_table_create PARAMS ((bfd *));
/* The NT loader points the toc register to &toc + 32768, in order to
use the complete range of a 16-bit displacement. We have to adjust
@@ -220,6 +220,7 @@ mcore_hash_table;
#define coff_mcore_hash_table(info) \
((mcore_hash_table *) ((info)->hash))
+#if 0
/* Create an MCore coff linker hash table. */
static struct bfd_link_hash_table *
@@ -247,6 +248,7 @@ coff_mcore_link_hash_table_create (abfd)
return & ret->root.root;
}
+#endif
/* Add an entry to the base file. */