This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: hppa .set directive
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: amodra at bigpond dot net dot au (Alan Modra)
- Cc: binutils at sourceware dot org, dave dot anglin at nrc dot ca
- Date: Wed, 28 Oct 2009 19:25:23 -0400 (EDT)
- Subject: Re: hppa .set directive
Correct.
On linux, it has the standard behavior.
It is not a valid directive for the HP assembler as far as I know.
Thus, the standard syntax doesn't conflict. There are some limitations
on its use on HP-UX but I don't quite remember the details...
Dave
> As far as I know, .set on hppa has the usual syntax. Right, Dave?
>
> * doc/as.texinfo (Set): Delete incorrect HPPA para.
>
> Index: gas/doc/as.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gas/doc/as.texinfo,v
> retrieving revision 1.213
> diff -u -p -r1.213 as.texinfo
> --- gas/doc/as.texinfo 26 Oct 2009 10:10:37 -0000 1.213
> +++ gas/doc/as.texinfo 28 Oct 2009 23:04:10 -0000
> @@ -5927,11 +5927,6 @@ You may @code{.set} a symbol many times
> If you @code{.set} a global symbol, the value stored in the object
> file is the last value stored into it.
>
> -@ifset HPPA
> -The syntax for @code{set} on the HPPA is
> -@samp{@var{symbol} .set @var{expression}}.
> -@end ifset
> -
> @ifset Z80
> On Z80 @code{set} is a real instruction, use
> @samp{@var{symbol} defl @var{expression}} instead.
>
> --
> Alan Modra
> Australia Development Lab, IBM
>
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)