From 84fcbe0aef414f9a4e7cf180e4dc258e69ba028e Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 22 Mar 2003 00:35:11 +0100 Subject: [PATCH] * config/m68hc11/m68hc11.md ("call_value"): Fix trap check. From-SVN: r64687 --- gcc/ChangeLog | 4 ++++ gcc/config/m68hc11/m68hc11.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c07cfb9..fd2f8fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-03-22 Stephane Carrez + * config/m68hc11/m68hc11.md ("call_value"): Fix trap check. + +2003-03-22 Stephane Carrez + * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in writing .interrupt command. * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index 7b202c4..3535a89 100644 --- a/gcc/config/m68hc11/m68hc11.md +++ b/gcc/config/m68hc11/m68hc11.md @@ -6422,7 +6422,7 @@ output_asm_insn (\"call\\t%1\", operands); return \"\"; } - if (m68hc11_is_trap_symbol (operands[0])) + if (m68hc11_is_trap_symbol (operands[1])) return \"swi\"; else return \"bsr\\t%1\"; -- 2.7.4