hppa .set directive

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Oct 28 23:25:00 GMT 2009


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)



More information about the Binutils mailing list