From: Ben Elliston Date: Fri, 17 Mar 2006 00:45:13 +0000 (+0000) Subject: PR gas/2446 X-Git-Tag: binutils-csl-2_17-branchpoint~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb4c78d64a0577ed8729b0eff654ef25d5af908c;p=external%2Fbinutils.git PR gas/2446 * doc/as.texinfo (Ident): Document this directive more thoroughly. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6bda17a..d20d9bd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-03-17 Ben Elliston + + PR gas/2446 + * doc/as.texinfo (Ident): Document this directive more thoroughly. + 2006-03-16 Paul Brook * config/tc-arm.c (insns): Add "svc". diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index d34b754..4fe0ef4 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}}