This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add a description of the X86_64 assembler's .largcomm pseudo-op.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Jan 2018 09:30:15 -0000
- Subject: [binutils-gdb] Add a description of the X86_64 assembler's .largcomm pseudo-op.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=102e9361c88882756ad7ffceb0713a794c991e69
commit 102e9361c88882756ad7ffceb0713a794c991e69
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Jan 8 09:29:17 2018 +0000
Add a description of the X86_64 assembler's .largcomm pseudo-op.
PR 22553
* doc/c-i386.texi (i386-Directives): Document the .largecomm
directive.
Diff:
---
gas/ChangeLog | 6 ++++++
gas/doc/c-i386.texi | 11 ++++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 85ced2f..d3ad1a4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-08 Nick Clifton <nickc@redhat.com>
+
+ PR 22553
+ * doc/c-i386.texi (i386-Directives): Document the .largecomm
+ directive.
+
2018-01-04 Jim Wilson <jimw@sifive.com>
* testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 91f5c5a..e500e7c 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