This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Documentation for .largecomm and friends
- From: Nick Clifton <nickc at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, Jan Beulich <JBeulich at suse dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 4 Jan 2018 15:28:11 +0000
- Subject: Re: Documentation for .largecomm and friends
- Authentication-results: sourceware.org; auth=none
- References: <87po7cqauz.fsf@redhat.com> <5A37F8F10200007800198337@prv-mh.provo.novell.com> <CAMe9rOrws+T56Ryx69hDGhc48C0w-tmFx3jiGoY=ktmJ_naTAQ@mail.gmail.com>
Hi H.J., Hi Jan,
Any objections to this patch for PR 22553 ?
Cheers
Nick
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 91f5c5a21a..e500e7c86d 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -431,8 +431,17 @@ specifies the desired alignment of the symbol in the bss section.
This directive is only available for COFF based x86 targets.
+@cindex @code{largecomm} directive, ELF
+@item .largecomm @var{symbol} , @var{length}[, @var{alignment}]
+This directive behaves in the same way as the @code{comm} directive
+except that the data is placed into the @var{.lbss} section instead of
+the @var{.bss} section @ref{Comm}.
+
+The directive is intended to be used for data which requires a large
+amount of space, and it is only available for ELF based x86_64
+targets.
+
@c FIXME: Document other x86 specific directives ? Eg: .code16gcc,
-@c .largecomm
@end table