Bug 2446 - .ident documented behaviour different from reality
Summary: .ident documented behaviour different from reality
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Ben Elliston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-12 10:46 UTC by Anthony Green
Modified: 2006-03-17 00:45 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Green 2006-03-12 10:46:39 UTC
The current docs for the .ident pseudo-op read:

@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.

But, at least for x86 Linux, .ident does emit the tag in a .comment section.
Comment 1 Ben Elliston 2006-03-16 23:59:44 UTC
Patch posted:
  http://sourceware.org/ml/binutils/2006-03/msg00226.html
Comment 2 Ben Elliston 2006-03-17 00:45:29 UTC
Fixed with this patch:

Checking in doc/as.texinfo;
/cvs/src/src/gas/doc/as.texinfo,v  <--  as.texinfo
new revision: 1.141; previous revision: 1.140
done