From 102e9361c88882756ad7ffceb0713a794c991e69 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 8 Jan 2018 09:29:17 +0000 Subject: [PATCH] Add a description of the X86_64 assembler's .largcomm pseudo-op. PR 22553 * doc/c-i386.texi (i386-Directives): Document the .largecomm directive. --- 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 85ced2f05b2..d3ad1a47592 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2018-01-08 Nick Clifton + + PR 22553 + * doc/c-i386.texi (i386-Directives): Document the .largecomm + directive. + 2018-01-04 Jim Wilson * 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 91f5c5a21a1..e500e7c86d1 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 -- 2.30.2