* config/tc-frv.c (frv_insert_vliw_insn): Prototype.
authorAlan Modra <amodra@gmail.com>
Thu, 12 Dec 2002 22:37:47 +0000 (22:37 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 12 Dec 2002 22:37:47 +0000 (22:37 +0000)
(frv_find_in_vliw): Likewise.
(frv_debug_tomcat): Likewise.
(frv_adjust_vliw_count): Likewise.
(frv_tomcat_shuffle): Likewise.
(frv_tomcat_analyze_vliw_chains): Likewise.  Correct args to
frv_find_in_vliw call.
(md_atof): Remove declaration of atof_ieee.

gas/ChangeLog
gas/config/tc-frv.c

index 05a6cbb..b63b654 100644 (file)
@@ -1,5 +1,13 @@
 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
 
+       * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
+       (frv_find_in_vliw): Likewise.
+       (frv_debug_tomcat): Likewise.
+       (frv_adjust_vliw_count): Likewise.
+       (frv_tomcat_shuffle): Likewise.
+       (frv_tomcat_analyze_vliw_chains): Likewise.  Correct args to
+       frv_find_in_vliw call.
+       (md_atof): Remove declaration of atof_ieee.
        * config/tc-h8500.c (cons): Delete declaration.
        (md_begin <opcode>): Constify.
        (displacement_size, immediate_size, absolute_size): Remove.
index b0807e1..79367f0 100644 (file)
@@ -467,6 +467,8 @@ md_begin ()
 
 int chain_num = 0;
 
+struct vliw_insn_list *frv_insert_vliw_insn PARAMS ((bfd_boolean));
+
 struct vliw_insn_list *
 frv_insert_vliw_insn (count)
       bfd_boolean count;
@@ -538,6 +540,9 @@ frv_insert_vliw_insn (count)
 
 /* Check a vliw insn for an insn of type containing the sym passed in label_sym.  */
 
+static struct vliw_insn_list *frv_find_in_vliw
+  PARAMS ((enum vliw_insn_type, struct vliw_chain *, symbolS *));
+
 static struct vliw_insn_list *
 frv_find_in_vliw (vliw_insn_type, this_chain, label_sym)
     enum vliw_insn_type vliw_insn_type;
@@ -573,6 +578,8 @@ enum vliw_nop_type
   VLIW_DOUBLE_THEN_SINGLE_NOP
 };
 
+static void frv_debug_tomcat PARAMS ((struct vliw_chain *));
+
 static void
 frv_debug_tomcat (start_chain)
    struct vliw_chain *start_chain;
@@ -601,6 +608,7 @@ frv_debug_tomcat (start_chain)
    }
 }
 
+static void frv_adjust_vliw_count PARAMS ((struct vliw_chain *));
 
 static void
 frv_adjust_vliw_count (this_chain)
@@ -623,6 +631,8 @@ frv_adjust_vliw_count (this_chain)
 /* Insert the desired nop combination in the vliw chain before insert_before_insn.
    Rechain the vliw insn.  */
 
+static struct vliw_chain *frv_tomcat_shuffle
+  PARAMS ((enum vliw_nop_type, struct vliw_chain *, struct vliw_insn_list *));
 
 static struct vliw_chain *
 frv_tomcat_shuffle (this_nop_type, vliw_to_split, insert_before_insn)
@@ -792,6 +802,8 @@ frv_tomcat_shuffle (this_nop_type, vliw_to_split, insert_before_insn)
   return return_me;
 }
 
+static void frv_tomcat_analyze_vliw_chains PARAMS ((void));
+
 static void
 frv_tomcat_analyze_vliw_chains ()
 {
@@ -861,7 +873,7 @@ workaround_top:
        {
          if (this_insn->type == VLIW_LABEL_TYPE)
            {
-             if ((temp_insn = frv_find_in_vliw (VLIW_BRANCH_TYPE, vliw2, this_insn->sym, temp_insn)) != NULL)
+             if ((temp_insn = frv_find_in_vliw (VLIW_BRANCH_TYPE, vliw2, this_insn->sym)) != NULL)
                {
                  temp_insn->snop_frag->fr_subtype = NOP_KEEP;
                  vliw1 = frv_tomcat_shuffle (VLIW_SINGLE_NOP, vliw2, this_insn);
@@ -892,7 +904,7 @@ workaround_top:
 
       if (frv_is_branch_insn (this_insn->insn))
        {
-         if ((temp_insn = frv_find_in_vliw (VLIW_LABEL_TYPE, vliw1, this_insn->sym, temp_insn)) != NULL)
+         if ((temp_insn = frv_find_in_vliw (VLIW_LABEL_TYPE, vliw1, this_insn->sym)) != NULL)
            {
              /* Insert [nop/nop] [nop] before branch.  */
              this_insn->snop_frag->fr_subtype = NOP_KEEP;
@@ -1258,7 +1270,6 @@ md_atof (type, litP, sizeP)
   int              prec;
   LITTLENUM_TYPE   words [MAX_LITTLENUMS];
   char *           t;
-  char *           atof_ieee ();
 
   switch (type)
     {