diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 15 | ||||
-rw-r--r-- | gas/config/tc-arc.c | 4 | ||||
-rw-r--r-- | gas/config/tc-frv.c | 2 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 2 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 2 | ||||
-rw-r--r-- | gas/config/tc-ip2k.c | 2 | ||||
-rw-r--r-- | gas/config/tc-m68hc11.c | 2 | ||||
-rw-r--r-- | gas/config/tc-m68k.c | 2 | ||||
-rw-r--r-- | gas/config/tc-mmix.c | 2 | ||||
-rw-r--r-- | gas/config/tc-mn10300.c | 2 | ||||
-rw-r--r-- | gas/config/tc-sh.c | 2 | ||||
-rw-r--r-- | gas/config/tc-sparc.c | 2 | ||||
-rw-r--r-- | gas/config/tc-v850.c | 2 |
13 files changed, 28 insertions, 13 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 3f0462b3c5..f6c6af8b4a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,18 @@ +2002-08-21 Alan Modra <amodra@bigpond.net.au> + + * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): 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 <rsandifo@redhat.com> * 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 3e829fac24..7dedda149a 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 8b4683f93c..2a7db7075f 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 19d2f37188..61e2a321cf 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 ae26adac1f..a634d80955 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 4c217f299d..b9d63e4ffc 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 dc21941ac3..b7b2116c74 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 111fab732f..6945809c69 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 0f6837033c..74668b44a9 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 5412740ba1..4611b86854 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 3faa94cdfe..4ae4c036f9 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 5c610a9670..5fa4fe980f 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 480f4fcd05..2d159cd519 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 } }; |