[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GAS documentation bug?
From: |
Nick Clifton |
Subject: |
Re: GAS documentation bug? |
Date: |
22 Aug 2002 21:11:07 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
Hi Guys,
> > On Mon, Aug 19, 2002 at 08:40:15AM -0500, Jeff Frohwein wrote:
> >
> > ARM7 GCC generated line:
> > .section .text,"ax",%progbits
> >
> > Or does @ have the same effect as %, even though @ is also the GAS
> > comment character?
> Alan Modra <address@hidden> writes:
>
> @progbits is used on all targets except arm, precisely because @ is
> the comment char on arm. I suppose the doco should reflect this.
A reasonable point. I have applied this patch to update the
documentation.
Cheers
Nick
2002-08-22 Nick Clifton <address@hidden>
* doc/as.texinfo (Section): Note that if '@' is a comment
character then another symbol is used to prefix the section's
type.
Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.69
diff -c -3 -p -w -r1.69 as.texinfo
*** gas/doc/as.texinfo 22 Jul 2002 19:04:28 -0000 1.69
--- gas/doc/as.texinfo 22 Aug 2002 20:07:49 -0000
*************** section contains data
*** 5099,5104 ****
--- 5099,5108 ----
section does not contain data (i.e., section only occupies space)
@end table
+ Note on targets where the @code{@@} character is the start of a comment (eg
+ ARM) then another character is used instead. For example the ARM port uses
the
+ @code{%} character.
+
If @var{flags} contains @code{M} flag, @var{type} argument must be specified
as well as @var{entsize} argument. Sections with @code{M} flag but not
@code{S} flag must contain fixed size constants, each @var{entsize} octets