diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2010-12-09 23:46:06 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2010-12-09 23:46:06 +0000 |
commit | c7af42732698afc889b4d53944a44c7ea4a7613f (patch) | |
tree | 7c76f57facec7fdc84bfda4b724f8b6cfb8fb31c | |
parent | d5818fca0b88898c09ba162522931ccd71d8fce5 (diff) | |
download | gdb-c7af42732698afc889b4d53944a44c7ea4a7613f.zip gdb-c7af42732698afc889b4d53944a44c7ea4a7613f.tar.gz gdb-c7af42732698afc889b4d53944a44c7ea4a7613f.tar.bz2 |
* config/tc-mips.c (macro)
<M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove
dedicated return points.
-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 |