* config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
authorAlan Modra <amodra@gmail.com>
Tue, 20 Aug 2002 23:49:27 +0000 (23:49 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Aug 2002 23:49:27 +0000 (23:49 +0000)
* 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.

13 files changed:
gas/ChangeLog
gas/config/tc-arc.c
gas/config/tc-frv.c
gas/config/tc-hppa.c
gas/config/tc-ia64.c
gas/config/tc-ip2k.c
gas/config/tc-m68hc11.c
gas/config/tc-m68k.c
gas/config/tc-mmix.c
gas/config/tc-mn10300.c
gas/config/tc-sh.c
gas/config/tc-sparc.c
gas/config/tc-v850.c

index 3f0462b..f6c6af8 100644 (file)
@@ -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
index 3e829fa..7dedda1 100644 (file)
@@ -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 },
index 8b4683f..2a7db70 100644 (file)
@@ -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 }
 };
index 19d2f37..61e2a32 100644 (file)
@@ -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'},
index ae26ada..a634d80 100644 (file)
@@ -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 },
index 4c217f2..b9d63e4 100644 (file)
@@ -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 },
index dc21941..b7b2116 100644 (file)
@@ -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.  */
index 111fab7..6945809 100644 (file)
@@ -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
 
index 0f68370..74668b4 100644 (file)
@@ -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}
index 5412740..4611b86 100644 (file)
@@ -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 },
index 3faa94c..4ae4c03 100644 (file)
@@ -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
index 5c610a9..5fa4fe9 100644 (file)
@@ -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},
index 480f4fc..2d159cd 100644 (file)
@@ -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                       }
 };