summaryrefslogtreecommitdiff
path: root/bfd/coff-tic4x.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-09-17 08:59:11 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-09-17 08:59:11 +0000
commitffad2073e43e37afb5b011b3d6b894b5cc213c75 (patch)
treeeaa07932b24502bc59c765a8f4629aeb90715f33 /bfd/coff-tic4x.c
parent5f3192361516af120a5facdad0fdf1af51c5a6ce (diff)
downloadbinutils-redhat-ffad2073e43e37afb5b011b3d6b894b5cc213c75.tar.gz
* coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
* cpu-tic4x.c: Ditto.
Diffstat (limited to 'bfd/coff-tic4x.c')
-rw-r--r--bfd/coff-tic4x.c26
1 files changed, 21 insertions, 5 deletions
diff --git a/bfd/coff-tic4x.c b/bfd/coff-tic4x.c
index 1669f7cc01..561d161f82 100644
--- a/bfd/coff-tic4x.c
+++ b/bfd/coff-tic4x.c
@@ -1,5 +1,6 @@
/* BFD back-end for TMS320C4X coff binaries.
- Copyright (C) 1996-99, 2000, 2002 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2002
+ Free Software Foundation, Inc.
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz)
This file is part of BFD, the Binary File Descriptor library.
@@ -30,9 +31,27 @@
#undef F_LSYMS
#define F_LSYMS F_LSYMS_TICOFF
+static boolean ticoff0_bad_format_hook
+ PARAMS ((bfd *, PTR ));
+static boolean ticoff1_bad_format_hook
+ PARAMS ((bfd *, PTR ));
+static boolean ticoff_bfd_is_local_label_name
+ PARAMS ((bfd *, const char *));
+static bfd_reloc_status_type tic4x_relocation
+ PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char ** ));
+static reloc_howto_type *tic4x_coff_reloc_type_lookup
+ PARAMS ((bfd *, bfd_reloc_code_real_type ));
+static void tic4x_lookup_howto
+ PARAMS ((arelent *, struct internal_reloc * ));
+static reloc_howto_type *coff_tic4x_rtype_to_howto
+ PARAMS ((bfd *, asection *, struct internal_reloc *, struct coff_link_hash_entry *, struct internal_syment *, bfd_vma * ));
+static void tic4x_reloc_processing
+ PARAMS ((arelent *, struct internal_reloc *, asymbol **, bfd *, asection * ));
+
+
static boolean
ticoff0_bad_format_hook (abfd, filehdr)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
PTR filehdr;
{
struct internal_filehdr *internal_f = (struct internal_filehdr *) filehdr;
@@ -70,9 +89,6 @@ ticoff_bfd_is_local_label_name (abfd, name)
#define coff_bfd_is_local_label_name ticoff_bfd_is_local_label_name
-static void tic4x_reloc_processing
- PARAMS ((arelent *, struct internal_reloc *, asymbol **, bfd *, asection *));
-
#define RELOC_PROCESSING(RELENT,RELOC,SYMS,ABFD,SECT)\
tic4x_reloc_processing (RELENT,RELOC,SYMS,ABFD,SECT)