aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/igen/ChangeLog5
-rw-r--r--sim/igen/igen.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
index 45848cc..4c7ffa2 100644
--- a/sim/igen/ChangeLog
+++ b/sim/igen/ChangeLog
@@ -1,3 +1,8 @@
+Fri Sep 19 10:36:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * igen.c (print_function_name): Put the format name after the
+ function / instruction name, not before.
+
Tue Sep 16 11:01:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
* gen.c (insns_bit_useless): Don't treat string fields restricted
diff --git a/sim/igen/igen.c b/sim/igen/igen.c
index f836d64..138072b 100644
--- a/sim/igen/igen.c
+++ b/sim/igen/igen.c
@@ -268,6 +268,9 @@ print_function_name (lf *file,
nr += lf_printf (file, "_");
}
+ /* the function name */
+ nr += print_c_name (file, basename);
+
/* the format name if available */
if (format_name != NULL)
{
@@ -275,9 +278,6 @@ print_function_name (lf *file,
nr += lf_printf (file, "_");
}
- /* the function name */
- nr += print_c_name (file, basename);
-
/* the suffix */
nr += print_opcode_bits (file, expanded_bits);