aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-07-01 12:39:09 +0100
committerNick Clifton <nickc@redhat.com>2019-07-01 12:39:09 +0100
commitf2f51cd5f511fc562f830818ec4467d8c3cced56 (patch)
tree919e415b6325329845910efd7f9ff24cc06d75f3
parenta6ce99e98738289658d830def1b6eb9546ab551e (diff)
downloadfsf-binutils-gdb-f2f51cd5f511fc562f830818ec4467d8c3cced56.zip
fsf-binutils-gdb-f2f51cd5f511fc562f830818ec4467d8c3cced56.tar.gz
fsf-binutils-gdb-f2f51cd5f511fc562f830818ec4467d8c3cced56.tar.bz2
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.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/doc/c-i386.texi6
2 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fb41498..8bf427e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index e0d0bc9..6fad69f 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