Document the .value directive supported by the x86 and x86_64 assemblers.
authorNick Clifton <nickc@redhat.com>
Mon, 1 Jul 2019 11:39:09 +0000 (12:39 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 1 Jul 2019 11:39:09 +0000 (12:39 +0100)
PR 24738
* doc/c-i386.texi (i386-Directives): Add a description of the
Value directive.

gas/ChangeLog
gas/doc/c-i386.texi

index fb41498..8bf427e 100644 (file)
@@ -1,5 +1,11 @@
 2019-07-01  Nick Clifton  <nickc@redhat.com>
 
+       PR 24738
+       * doc/c-i386.texi (i386-Directives): Add a description of the
+       Value directive.
+
+2019-07-01  Nick Clifton  <nickc@redhat.com>
+
        PR 24737
        * doc/as.texi (Align): Add missing word to description of
        pseudo-op.
index e0d0bc9..6fad69f 100644 (file)
@@ -516,6 +516,12 @@ 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.
 
+@cindex @code{value} directive
+@item .value @var{expression} [, @var{expression}]
+This directive behaves in the same way as the @code{.short} directive,
+taking a series of comma separated expressions and storing them as
+two-byte wide values into the current section.
+
 @c FIXME: Document other x86 specific directives ?  Eg: .code16gcc,
 
 @end table