aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-ia64.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2000-11-22 21:25:36 +0000
committerJim Wilson <wilson@tuliptree.org>2000-11-22 21:25:36 +0000
commit64bf6ae67d0699ac530e79beeae898b7eab6ac57 (patch)
tree3441c04b19c11943b4d61938a56d35412e189320 /bfd/coff-ia64.c
parent657e7cec5a4d325f819ccc80369aaf7190a2f9b8 (diff)
downloadgdb-64bf6ae67d0699ac530e79beeae898b7eab6ac57.zip
gdb-64bf6ae67d0699ac530e79beeae898b7eab6ac57.tar.gz
gdb-64bf6ae67d0699ac530e79beeae898b7eab6ac57.tar.bz2
Eliminate compiler warnings from IA-64 port.
* coff-ia64.c (howto_table): Use EMPTY_HOWTO. (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters. * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise. (ins_imms_scaled): Initialize sign_bit at function entry. (elf64_ia64_operands): Add missing initializers. * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup, elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections, elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name, elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff, elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused parameters. (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents, and free_extsyms at function entry. (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result. (elfNN_ia64_create_dynamic_sections): Delete unused local h. (get_got): Delete unused local srel. (elfNN_ia64_check_relocs): Initialize dynrel_type when declared. (elfNN_ia64_relocate_section): Delete unused local dynindx.
Diffstat (limited to 'bfd/coff-ia64.c')
-rw-r--r--bfd/coff-ia64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coff-ia64.c b/bfd/coff-ia64.c
index 6054e4c..1f2b445 100644
--- a/bfd/coff-ia64.c
+++ b/bfd/coff-ia64.c
@@ -37,7 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
static reloc_howto_type howto_table[] =
{
- {0},
+ EMPTY_HOWTO (0),
};
#define BADMAG(x) IA64BADMAG(x)
@@ -58,8 +58,8 @@ static reloc_howto_type howto_table[] =
static boolean
in_reloc_p(abfd, howto)
- bfd * abfd;
- reloc_howto_type *howto;
+ bfd * abfd ATTRIBUTE_UNUSED;
+ reloc_howto_type *howto ATTRIBUTE_UNUSED;
{
return 0; /* We don't do relocs for now... */
}