diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-10-27 17:45:53 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-10-27 17:45:53 +0000 |
commit | 9cfc3331a8ecc462c89a8e8d7891c8024291a5c9 (patch) | |
tree | 014af7bf85c16be4928e0ccf0017ea4763cfd256 /gas/doc | |
parent | bfe10c0faee24948aab639bac91ba4b8d659aaa7 (diff) | |
download | binutils-gdb-9cfc3331a8ecc462c89a8e8d7891c8024291a5c9.tar.gz |
gas/
2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5221
* config/obj-elf.c (obj_elf_section): Handle optional
parameters for .pushsection.
* doc/as.texinfo: Document optional parameters for
.pushsection.
gas/testsuite/
2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5221
* gas/elf/elf.exp: Run section7.
* gas/elf/section7.d: New.
* gas/elf/section7.s: Likewise.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 5d426ee01cb..21af1110546 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -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}]]]} @cindex @code{pushsection} directive @cindex Section Stack @@ -5479,7 +5479,9 @@ This is one of the ELF section stack manipulation directives. The others are This directive pushes the current section (and subsection) onto the top of the section stack, and then replaces the current section and -subsection with @code{name} and @code{subsection}. +subsection with @code{name} and @code{subsection}. The optional +@code{flags}, @code{type} and @code{arguments} are treated the same +as in the @code{.section} (@pxref{Section}) directive. @end ifset @node Quad |