[parisc-linux] [PATCH] hppa-linux-gas binutils patch

Helge Deller deller at gmx.de
Tue Nov 28 12:34:01 MST 2006


On Tuesday 28 November 2006 20:20, Helge Deller wrote:
> As a background story:
> Originally I wanted to add support for
> VAR		.equ  VALUE
> as it's e.g. documented here: http://docs.hp.com/en/92432-90012/ch02.html
> (JAN   .equ  1).

There is more broken:

deller at c3000:~/binutils/run/bin$ cat test.s
AA       .equ  4
BB      .equ  6
deller at c3000:~/binutils/run/bin$ as test.s
test.s: Assembler messages:
test.s:1: Error: Unknown opcode: `aa'
test.s:2: Error: Invalid operands

although as.info states:

7.37 `.equ SYMBOL, EXPRESSION'
==============================

This directive sets the value of SYMBOL to EXPRESSION.  It is
synonymous with `.set'; see *Note `.set': Set.

   The syntax for `equ' on the HPPA is `SYMBOL .equ EXPRESSION'.




More information about the parisc-linux mailing list