* doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use

of .section directive; add a reference to the ELF .subsection
	directive.
This commit is contained in:
Bob Wilson 2004-04-13 17:56:13 +00:00
parent 925d60e5e9
commit ed9589d486
2 changed files with 21 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2004-04-13 Bob Wilson <bob.wilson@acm.org>
* doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
of .section directive; add a reference to the ELF .subsection
directive.
2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* config/tc-m32r.c (md_assemble): Fixed infinite loop bug

View file

@ -2983,9 +2983,9 @@ data subsections as a data section.
To specify which subsection you want subsequent statements assembled
into, use a numeric argument to specify it, in a @samp{.text
@var{expression}} or a @samp{.data @var{expression}} statement.
@ifset COFF-ELF
@ifset COFF
@ifset GENERIC
When generating COFF or ELF output, you
When generating COFF output, you
@end ifset
@ifclear GENERIC
You
@ -2994,6 +2994,16 @@ can also use an extra subsection
argument with arbitrary named sections: @samp{.section @var{name},
@var{expression}}.
@end ifset
@ifset ELF
@ifset GENERIC
When generating ELF output, you
@end ifset
@ifclear GENERIC
You
@end ifclear
can also use the @code{.subsection} directive (@pxref{SubSection})
to specify a subsection: @samp{.subsection @var{expression}}.
@end ifset
@var{Expression} should be an absolute expression.
(@xref{Expressions}.) If you just say @samp{.text} then @samp{.text 0}
is assumed. Likewise @samp{.data} means @samp{.data 0}. Assembly
@ -4334,7 +4344,7 @@ partial programs. You may need the HPPA-only @code{.EXPORT} directive as well.
@cindex @code{hidden} directive
@cindex visibility
This one of the ELF visibility directives. The other two are
This is one of the ELF visibility directives. The other two are
@code{.internal} (@pxref{Internal,,@code{.internal}}) and
@code{.protected} (@pxref{Protected,,@code{.protected}}).
@ -4510,7 +4520,7 @@ integers. On the H8/300H and the Renesas SH, however, @code{.int} emits
@cindex @code{internal} directive
@cindex visibility
This one of the ELF visibility directives. The other two are
This is one of the ELF visibility directives. The other two are
@code{.hidden} (@pxref{Hidden,,@code{.hidden}}) and
@code{.protected} (@pxref{Protected,,@code{.protected}}).
@ -4997,7 +5007,7 @@ assembly. You must put @var{string} in double quotes.
@cindex @code{protected} directive
@cindex visibility
This one of the ELF visibility directives. The other two are
This is one of the ELF visibility directives. The other two are
@code{.hidden} (@pxref{Hidden}) and @code{.internal} (@pxref{Internal}).
This directive overrides the named symbols default visibility (which is set by