diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 15 |
2 files changed, 11 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e018505..ce56b30 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 2010-12-09 Maciej W. Rozycki <macro@codesourcery.com> + * config/tc-mips.c (macro) + <M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove + dedicated return points. + +2010-12-09 Maciej W. Rozycki <macro@codesourcery.com> + * config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used for pos and size. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 045cf87..0473b10 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -6144,37 +6144,32 @@ macro (struct mips_cl_insn *ip) unsigned long temp = (treg << 16) | (0x01); macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_MSGLD: { unsigned long temp = (0x02); macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_MSGLD_T: { unsigned long temp = (treg << 16) | (0x02); macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_MSGWAIT: macro_build (NULL, "c2", "C", 3); - /* AT is not used, just return */ - return; + break; case M_MSGWAIT_T: { unsigned long temp = (treg << 16) | 0x03; macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_J_A: /* The j instruction may not be used in PIC code, since it |