summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-03-17 00:45:13 +0000
committerBen Elliston <bje@au.ibm.com>2006-03-17 00:45:13 +0000
commitcaa16950dc1f7c9fffbdda798808209cd2a89013 (patch)
treefe412150bcb804c4bfeb7a620bf6a085f9c55153 /gas
parent9c2df70449aca0e4a23f48efa5c9ef0cc9821979 (diff)
downloadbinutils-redhat-caa16950dc1f7c9fffbdda798808209cd2a89013.tar.gz
PR gas/2446
* doc/as.texinfo (Ident): Document this directive more thoroughly.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/doc/as.texinfo12
2 files changed, 13 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6bda17a277..d20d9bd369 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-17 Ben Elliston <bje@au.ibm.com>
+
+ PR gas/2446
+ * doc/as.texinfo (Ident): Document this directive more thoroughly.
+
2006-03-16 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (insns): Add "svc".
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index d34b754fac..4fe0ef4ca8 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -4530,10 +4530,14 @@ This directive is a synonym for both @samp{.short} and @samp{.word}.
@section @code{.ident}
@cindex @code{ident} directive
-This directive is used by some assemblers to place tags in object files.
-@command{@value{AS}} simply accepts the directive for source-file
-compatibility with such assemblers, but does not actually emit anything
-for it.
+
+This directive is used by some assemblers to place tags in object files. The
+behavior of this directive varies depending on the target. When using the
+a.out object file format, @command{@value{AS}} simply accepts the directive for
+source-file compatibility with existing assemblers, but does not emit anything
+for it. When using COFF, comments are emitted to the @code{.comment} or
+@code{.rdata} section, depending on the target. When using ELF, comments are
+emitted to the @code{.comment} section.
@node If
@section @code{.if @var{absolute expression}}