From 550262c43d373d2b9e769233047d9d12e985f738 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 10 Jan 2000 22:22:56 +0000 Subject: [PATCH] fixup ARM documentation --- gas/ChangeLog | 7 +++++++ gas/doc/as.texinfo | 3 +++ gas/doc/c-arm.texi | 17 ++++++++++++++--- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index ffec330c13d..99857e59b68 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2000-01-10 Philip Blundell + + * doc/c-arm.texi (ARM Options): Fix typo. + (ARM-Chars): Correct description of `#'. Mention that `;' is a + line separator for Linux. + * doc/as.texinfo (Comments): Mention the ARM. + 2000-01-10 Philip Blundell * configure.in (arm*-*-conix*): New target. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index eb5aee84144..0f342fe7293 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -1555,6 +1555,9 @@ is considered a comment and is ignored. The line comment character is @ifset ARC @samp{;} on the ARC; @end ifset +@ifset ARM +@samp{@@} on the ARM; +@end ifset @ifset H8/300 @samp{;} for the H8/300 family; @end ifset diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 5a4c2b381b6..ff98d7f572c 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -66,7 +66,7 @@ Calling Standard. @item -mapcs-float This indicates the the floating point variant of the APCS should be used. In this variant floating point arguments are passed in FP -registers ratehr than integer registers. +registers rather than integer registers. @item -mapcs-reentrant This indicates that the reentrant variant of the APCS should be used. This variant supports position independent code. @@ -102,8 +102,19 @@ the final release of the ARM-ELF specifications. @cindex line comment character, ARM @cindex ARM line comment character -The presence of a @samp{#} and @samp{@@} on a line indicates the start of -a comment that extends to the end of the current line. +The presence of a @samp{@@} on a line indicates the start of a comment +that extends to the end of the current line. If a @samp{#} appears as +the first character of a line, the whole line is treated as a comment. + +@cindex line separator, ARM +@cindex statement separator, ARM +@cindex ARM line separator +On ARM systems running the GNU/Linux operating system, @samp{;} can be +used instead of a newline to separate statements. + +@cindex immediate character, ARM +@cindex ARM immediate character +Either @samp{#} or @samp{$} can be used to indicate immediate operands. @cindex identifiers, ARM @cindex ARM identifiers -- 2.30.2