aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-10-28 03:03:53 +0000
committerJeff Law <law@redhat.com>1999-10-28 03:03:53 +0000
commitacb5662391fc6d5b6b8ede0217df17c0af177f25 (patch)
tree2275b5746b24e47664cb9a3013d78d51e241f7ae
parentb49cfa5daea8d82afcfa88541747e6855b8ba8af (diff)
downloadgdb-acb5662391fc6d5b6b8ede0217df17c0af177f25.zip
gdb-acb5662391fc6d5b6b8ede0217df17c0af177f25.tar.gz
gdb-acb5662391fc6d5b6b8ede0217df17c0af177f25.tar.bz2
* config/tc-arm.c (reg_required_here): Improve comments.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-arm.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4711dbd..bd67830 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com>
+ * config/tc-arm.c (reg_required_here): Improve comments.
+
* config/tc-arm.c (thumb_opcode): Add "variants" field.
(tinsns): Initialize variants field.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index e1583b3..d842941 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -1503,8 +1503,10 @@ skip_past_comma (str)
return comma ? SUCCESS : FAIL;
}
-/* A standard register must be given at this point. Shift is the place to
- put it in the instruction. */
+/* A standard register must be given at this point.
+ Shift is the place to put it in inst.instruction.
+ Restores input start point on err.
+ Returns the reg#, or FAIL. */
static int
reg_required_here (str, shift)