From 9f1838ed64cc3726670b3bf7d9fb3c875bad6f7c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 20 Aug 2002 23:49:27 +0000 Subject: * config/tc-arc.c (md_pseudo_table ): Cast. * config/tc-frv.c: Likewise. * config/tc-hppa.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ip2k.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-v850.c: Likewise. --- gas/ChangeLog | 15 +++++++++++++++ gas/config/tc-arc.c | 4 ++-- gas/config/tc-frv.c | 2 +- gas/config/tc-hppa.c | 2 +- gas/config/tc-ia64.c | 2 +- gas/config/tc-ip2k.c | 2 +- gas/config/tc-m68hc11.c | 2 +- gas/config/tc-m68k.c | 2 +- gas/config/tc-mmix.c | 2 +- gas/config/tc-mn10300.c | 2 +- gas/config/tc-sh.c | 2 +- gas/config/tc-sparc.c | 2 +- gas/config/tc-v850.c | 2 +- 13 files changed, 28 insertions(+), 13 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 3f0462b..f6c6af8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,18 @@ +2002-08-21 Alan Modra + + * config/tc-arc.c (md_pseudo_table ): Cast. + * config/tc-frv.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-ip2k.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-m68k.c: Likewise. + * config/tc-mmix.c: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-v850.c: Likewise. + 2002-08-20 Richard Sandiford * config/tc-mips.c (macro2): Implement rotates by zero using shifts diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 3e829fa..7dedda1 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -1,5 +1,5 @@ /* tc-arc.c -- Assembler for the ARC - Copyright 1994, 1995, 1997, 1999, 2000, 2001 + Copyright 1994, 1995, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Doug Evans (dje@cygnus.com). @@ -93,7 +93,7 @@ const pseudo_typeS md_pseudo_table[] = { { "option", arc_option, 0 }, { "cpu", arc_option, 0 }, { "block", s_space, 0 }, - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { "extcondcode", arc_extoper, 0 }, { "extcoreregister", arc_extoper, 1 }, diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c index 8b4683f..2a7db70 100644 --- a/gas/config/tc-frv.c +++ b/gas/config/tc-frv.c @@ -185,7 +185,7 @@ const pseudo_typeS md_pseudo_table[] = { "eflags", frv_set_flags, 0 }, { "word", cons, 4 }, { "picptr", frv_pic_ptr, 4 }, - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { NULL, NULL, 0 } }; diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 19d2f37..61e2a32 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -668,7 +668,7 @@ const pseudo_typeS md_pseudo_table[] = {"exit", pa_exit, 0}, {"export", pa_export, 0}, #ifdef OBJ_ELF - {"file", dwarf2_directive_file, 0 }, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, #endif {"fill", pa_fill, 0}, {"float", pa_float_cons, 'f'}, diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index ae26ada..a634d80 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -4827,7 +4827,7 @@ const pseudo_typeS md_pseudo_table[] = { "body", dot_body, 0 }, { "prologue", dot_prologue, 0 }, { "endp", dot_endp, 0 }, - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { "fframe", dot_fframe, 0 }, diff --git a/gas/config/tc-ip2k.c b/gas/config/tc-ip2k.c index 4c217f2..b9d63e4 100644 --- a/gas/config/tc-ip2k.c +++ b/gas/config/tc-ip2k.c @@ -66,7 +66,7 @@ static void ip2k_elf_section_rtn (int); /* The target specific pseudo-ops which we support. */ const pseudo_typeS md_pseudo_table[] = { - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { "text", ip2k_elf_section_text, 0 }, { "sect", ip2k_elf_section_rtn, 0 }, diff --git a/gas/config/tc-m68hc11.c b/gas/config/tc-m68hc11.c index dc21941..b7b2116 100644 --- a/gas/config/tc-m68hc11.c +++ b/gas/config/tc-m68hc11.c @@ -261,7 +261,7 @@ const pseudo_typeS md_pseudo_table[] = { {"rmb", s_space, 0}, /* Dwarf2 support for Gcc. */ - {"file", dwarf2_directive_file, 0}, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0}, {"loc", dwarf2_directive_loc, 0}, /* Motorola ALIS. */ diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 111fab7..6945809 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -556,7 +556,7 @@ const pseudo_typeS md_pseudo_table[] = #ifdef OBJ_ELF /* Dwarf2 support for Gcc. */ - {"file", dwarf2_directive_file, 0}, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0}, {"loc", dwarf2_directive_loc, 0}, #endif diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 0f68370..74668b4 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -345,7 +345,7 @@ const pseudo_typeS md_pseudo_table[] = {"local", mmix_s_local, 1}, /* Support DWARF2 debugging info. */ - {"file", dwarf2_directive_file, 0}, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0}, {"loc", dwarf2_directive_loc, 0}, {NULL, 0, 0} diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 5412740..4611b86 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -123,7 +123,7 @@ size_t md_longopts_size = sizeof (md_longopts); /* The target specific pseudo-ops which we support. */ const pseudo_typeS md_pseudo_table[] = { - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { "am30", set_arch_mach, AM30 }, { "am33", set_arch_mach, AM33 }, diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 3faa94c..4ae4c03 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -136,7 +136,7 @@ const pseudo_typeS md_pseudo_table[] = {"4byte", s_uacons, 4}, {"8byte", s_uacons, 8}, #ifdef BFD_ASSEMBLER - {"file", dwarf2_directive_file, 0 }, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, {"loc", dwarf2_directive_loc, 0 }, #endif #ifdef HAVE_SH64 diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index 5c610a9..5fa4fe9 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -159,7 +159,7 @@ const pseudo_typeS md_pseudo_table[] = {"uaword", s_uacons, 4}, {"uaxword", s_uacons, 8}, #ifdef OBJ_ELF - {"file", dwarf2_directive_file, 0}, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0}, {"loc", dwarf2_directive_loc, 0}, /* These are specific to sparc/svr4. */ {"2byte", s_uacons, 2}, diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 480f4fc..2d159cd 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -493,7 +493,7 @@ const pseudo_typeS md_pseudo_table[] = { { "call_table_text", v850_seg, CALL_TABLE_TEXT_SECTION }, { "v850e", set_machine, bfd_mach_v850e }, { "v850ea", set_machine, bfd_mach_v850ea }, - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { NULL, NULL, 0 } }; -- cgit v1.1