aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog6
-rw-r--r--cpu/frv.opc18
2 files changed, 15 insertions, 9 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 6384506..1684d26 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,9 @@
+2021-03-29 Alan Modra <amodra@gmail.com>
+
+ * frv.opc (frv_is_branch_major, frv_is_float_major),
+ (frv_is_media_major, frv_is_branch_insn, frv_is_float_insn),
+ (frv_is_media_insn, spr_valid): Correct prototypes.
+
2021-01-09 Nick Clifton <nickc@redhat.com>
* 2.36 release branch crated.
diff --git a/cpu/frv.opc b/cpu/frv.opc
index 1b0b05c..7863462 100644
--- a/cpu/frv.opc
+++ b/cpu/frv.opc
@@ -66,15 +66,15 @@ typedef struct
const CGEN_INSN * insn[FRV_VLIW_SIZE];
} FRV_VLIW;
-int frv_is_branch_major (CGEN_ATTR_VALUE_ENUM_TYPE, unsigned long);
-int frv_is_float_major (CGEN_ATTR_VALUE_ENUM_TYPE, unsigned long);
-int frv_is_media_major (CGEN_ATTR_VALUE_ENUM_TYPE, unsigned long);
-int frv_is_branch_insn (const CGEN_INSN *);
-int frv_is_float_insn (const CGEN_INSN *);
-int frv_is_media_insn (const CGEN_INSN *);
-void frv_vliw_reset (FRV_VLIW *, unsigned long, unsigned long);
-int frv_vliw_add_insn (FRV_VLIW *, const CGEN_INSN *);
-int spr_valid (long);
+bfd_boolean frv_is_branch_major (CGEN_ATTR_VALUE_ENUM_TYPE, unsigned long);
+bfd_boolean frv_is_float_major (CGEN_ATTR_VALUE_ENUM_TYPE, unsigned long);
+bfd_boolean frv_is_media_major (CGEN_ATTR_VALUE_ENUM_TYPE, unsigned long);
+bfd_boolean frv_is_branch_insn (const CGEN_INSN *);
+bfd_boolean frv_is_float_insn (const CGEN_INSN *);
+bfd_boolean frv_is_media_insn (const CGEN_INSN *);
+void frv_vliw_reset (FRV_VLIW *, unsigned long, unsigned long);
+int frv_vliw_add_insn (FRV_VLIW *, const CGEN_INSN *);
+bfd_boolean spr_valid (long);
/* -- */
/* -- opc.c */