From f2f51cd5f511fc562f830818ec4467d8c3cced56 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 1 Jul 2019 12:39:09 +0100 Subject: [PATCH] Document the .value directive supported by the x86 and x86_64 assemblers. PR 24738 * doc/c-i386.texi (i386-Directives): Add a description of the Value directive. --- gas/ChangeLog | 6 ++++++ gas/doc/c-i386.texi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index fb41498bae4..8bf427ec4c6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2019-07-01 Nick Clifton + + PR 24738 + * doc/c-i386.texi (i386-Directives): Add a description of the + Value directive. + 2019-07-01 Nick Clifton PR 24737 diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index e0d0bc9f945..6fad69f73d6 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -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 -- 2.30.2