diff options
author | Alan Modra <amodra@gmail.com> | 2002-09-17 08:33:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-09-17 08:33:13 +0000 |
commit | 5af6ead6755b654e34e71dd8d2a5c625de5115c6 (patch) | |
tree | 478dfef6ee9961dcfbeabc177c7ecfb9e0fc27cb | |
parent | cb9512fc2f26ff9902ef999481d5cd83276655b4 (diff) | |
download | gdb-5af6ead6755b654e34e71dd8d2a5c625de5115c6.zip gdb-5af6ead6755b654e34e71dd8d2a5c625de5115c6.tar.gz gdb-5af6ead6755b654e34e71dd8d2a5c625de5115c6.tar.bz2 |
* coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
* cpu-tic4x.c: Ditto.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coff-tic4x.c | 26 |
2 files changed, 26 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3c3c9d6..6ad8b54 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com> + + * coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. + * cpu-tic4x.c: Ditto. + 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> * elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove @@ -72,7 +77,6 @@ bfd_elf_get_elf_syms(). Fixup problems with freeing cached allocated memory blocks. - 2002-09-02 Alan Modra <amodra@bigpond.net.au> * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove. diff --git a/bfd/coff-tic4x.c b/bfd/coff-tic4x.c index 1669f7c..561d161 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) |