aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-01-08 09:29:17 +0000
committerNick Clifton <nickc@redhat.com>2018-01-08 09:29:17 +0000
commit102e9361c88882756ad7ffceb0713a794c991e69 (patch)
treef92349f0afa5f484a00dfa41079a6055f3b527bc /gas
parent04bafb1ed002df1f25ca5a5773d87723a4baf46b (diff)
downloadgdb-102e9361c88882756ad7ffceb0713a794c991e69.zip
gdb-102e9361c88882756ad7ffceb0713a794c991e69.tar.gz
gdb-102e9361c88882756ad7ffceb0713a794c991e69.tar.bz2
Add a description of the X86_64 assembler's .largcomm pseudo-op.
PR 22553 * doc/c-i386.texi (i386-Directives): Document the .largecomm directive.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/doc/c-i386.texi11
2 files changed, 16 insertions, 1 deletions
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