This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add directive to enter/leave alternate macro mode


The thing I want it for is to evaluate macro arguments in order to use
the evaluated value (rather than the raw one) e.g. in label names. And
it's being enabled automtically for some target(s), so it can't be
entirely undocumented (that is, it at least appearantly attempts to
match some other assembler's behavior).

And, I'm at once trying to find out why it's undocumented. If it's for
a reason (and not just because non-one got to write proper
documentation), then it wouldn't seem appropriate to document the
directive. Oth, if it's just an unintended omission, then perhaps it
might be a good idea to actually add the supposed command line option
and enable (and complete) the documentation (it's on another page
whether I'll be able to figure how these .texinfo files need to be
modified consistently without a lot of effort, which is one of the
reasons I didn't really consider writing documentation for this in the
first place).

Jan

>>> Ian Lance Taylor <ian@wasabisystems.com> 08.06.04 15:50:59 >>>
"Jan Beulich" <JBeulich@novell.com> writes:

> Hmm, I'm not sure here. doc/as.texinfo contains references to
alternate
> macro mode, but only enclosed in an @ignore/@end ignore block, which
I
> understand prevents this from making it into the generated doc.
> Additionally, this fragment refers a command line options -a and
> --alternate, which don't exist (or to be exact, the short option has
a
> different meaning, the long one doesn't exist). So the question for
me
> would be why this is hidden at present, and if it is for a reason,
then
> there would be little point in documenting the directive without
> consolidating this.

Hmmm, if alternate macro mode is not documented, I guess I'm curious
as to why you want to add the pseudo-ops.

I think alternate mode used to be documented in the gasp manual, by
the way.  That has been removed, but can still be found in CVS--it's
in gas/doc/gasp.texi.  I wouldn't be surprised if the text you found
is from the gasp manual, since for gasp -a/--alternate was used to
select alternate mode.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]