From: Bob Wilson Date: Tue, 13 Apr 2004 17:56:13 +0000 (+0000) Subject: * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ed9589d48693dbbff1d2c021167495176770ceff;p=deliverable%2Fbinutils-gdb.git * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use of .section directive; add a reference to the ELF .subsection directive. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e50a297a5c..5cae9c0210 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2004-04-13 Bob Wilson + + * 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 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index fc02bb729d..554eee7f3b 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -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