From: Phil Blundell Date: Tue, 19 Jun 2001 07:33:21 +0000 (+0000) Subject: 2001-06-18 Philip Blundell X-Git-Tag: gprof-pre-ansify-2004-05-26~6495 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d30282374addfbe4439966c2541b7d00c8a99ed1;p=pf3gnuchains%2Fpf3gnuchains4x.git 2001-06-18 Philip Blundell * config/tc-arm.c (do_msr): Remove restriction on usage of immediate operands. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b40ed5ff7d..f7365a852d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-06-18 Philip Blundell + + * config/tc-arm.c (do_msr): Remove restriction on usage of + immediate operands. + 2001-06-19 Alan Modra * dwarf2dbg.c (dwarf2_finish): Output file info even when no diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 82ac65d0c1..99aff8ef31 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -2289,12 +2289,17 @@ do_msr (str, flags) return; } +#if 0 /* The first edition of the ARM architecture manual stated that + writing anything other than the flags with an immediate operation + had UNPREDICTABLE effects. This constraint was removed in the + second edition of the specification. */ if ((cpu_variant & ARM_EXT_V5) != ARM_EXT_V5 && inst.instruction & ((PSR_c | PSR_x | PSR_s) << PSR_SHIFT)) { inst.error = _("immediate value cannot be used to set this field"); return; } +#endif flags |= INST_IMMEDIATE;