Package: binutils
Version: 2.16.1cvs20051117-1

There've been a couple of syntax changes in gas that now break my
code.

In particular, macro argument parsing is broken, and gas now requires
a label inside a function (the .proc isn't sufficient any more).

Here's a minimal nonsense test program that worked fine for 2.15-6
that doesn't work for 2.16.1cvs20051117-1.  It's excepted from an
automatic virtualisation attempt at the linux kernel.

----
$ as x.s
x.s: Assembler messages:
x.s:21: Error: can't mix positional and keyword arguments
x.s:23: Error: `atest' was not defined within procedure


----
.macro emul_st8_spill_r pr=p0,idx,incr,reg
{.mii
(\pr)   nop.m 0x0
(\pr)   mov r4=ip
(\pr)   mov r5=1000
        ;;
}
(\pr)    ld8 r5=[r5]
        ;;
(\pr)   st8.spill [\idx]=r5
(\pr)   mov r4=r0
(\pr)   add \idx=\incr,\idx
        ;;
.endm

   .global atest
   .align 32
   .proc atest
   .prologue
   .body
    emul_st8_spill_r pr=,idx=(r14),incr=(416)-(400),reg=4
    br.ret.sptk.many rp
   .endp atest
----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to