Re: [PATCH] hppa-linux-gas binutils patch
"Carlos O'Donell" <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
Helge,
Thanks for the very clear and logical reasoning of new versus old features.
Also thanks for indulging me and cleaning up the documentation. I have a
poster on the wall that says "A bug is not closed until you document the
change." :)
One last request, write me a nice ChangeLog so I can give you credit for
the good work! After that I'll send it upstream.
Dave I hope Helge's email answers your questions?
Thanks.
> Index: config/tc-hppa.c
> ===================================================================
> RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
> retrieving revision 1.133
> diff -u -r1.133 tc-hppa.c
> --- config/tc-hppa.c 30 Oct 2006 01:09:18 -0000 1.133
> +++ config/tc-hppa.c 2 Dec 2006 15:10:54 -0000
> @@ -3262,7 +3262,7 @@
> return;
> }
>
> - /* Look up the opcode in the has table. */
> + /* Look up the opcode in the hash table. */
> if ((insn = (struct pa_opcode *) hash_find (op_hash, str)) == NULL)
> {
> as_bad ("Unknown opcode: `%s'", str);
> @@ -6397,8 +6397,11 @@
> {
> if (reg)
> as_bad (_(".REG must use a label"));
> - else
> - as_bad (_(".EQU must use a label"));
> + else {
> + /* Try gas' standard ".equ X,Y" pseudo opcode. */
> + s_set(0);
> + return;
> + }
> }
>
> pa_undefine_label ();
>
> Index: doc/as.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gas/doc/as.texinfo,v
> retrieving revision 1.155
> diff -u -r1.155 as.texinfo
> --- doc/as.texinfo 3 Nov 2006 07:29:37 -0000 1.155
> +++ doc/as.texinfo 2 Dec 2006 15:10:56 -0000
> @@ -4368,8 +4368,8 @@
> It is synonymous with @samp{.set}; see @ref{Set,,@code{.set}}.
>
> @ifset HPPA
> -The syntax for @code{equ} on the HPPA is
> -@samp{@var{symbol} .equ @var{expression}}.
> +On HPPA the following syntax may be used alternatively:
> +@samp{@var{symbol:} .equ @var{expression}}
> @end ifset
>
> @ifset Z80
> @@ -5671,8 +5671,8 @@
> 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}}.
> +Alternatively the syntax for @code{set} on the HPPA is
> +@samp{@var{symbol:} .set @var{expression}}.
> @end ifset
>
> @ifset Z80
> _______________________________________________
> parisc-linux mailing list
> [email protected]
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>