This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR gas/5221: .pushsection is broken
- From: Andreas Schwab <schwab at suse dot de>
- To: "H.J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com, nickc at redhat dot com
- Date: Fri, 26 Oct 2007 17:29:55 +0200
- Subject: Re: PATCH: PR gas/5221: .pushsection is broken
- References: <20071026150628.GA20388@lucon.org>
"H.J. Lu" <hjl@lucon.org> writes:
> --- gas/doc/as.texinfo.push 2007-10-17 08:48:37.000000000 -0700
> +++ gas/doc/as.texinfo 2007-10-26 08:00:09.000000000 -0700
> @@ -5468,7 +5468,7 @@ expanded. @xref{Macro}.
>
> @ifset ELF
> @node PushSection
> -@section @code{.pushsection @var{name} , @var{subsection}}
> +@section @code{.pushsection @var{name} [, @var{subsection} [, "@var{flags}"[, @@@var{type}[,@var{arguments}]]]]}
I think you should describe it like this:
@section @code{.pushsection @var{name} [, @var{subsection}] [, "@var{flags}"[, @@@var{type}[,@var{arguments}]]]}
since the subsection can be left out even if flags, etc. follow.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."