This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: IA64 assembler can't handle constant org offsets
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 26 Jan 2004 14:55:27 -0800
- Subject: Re: IA64 assembler can't handle constant org offsets
- References: <jebroxwq8p.fsf@sykes.suse.de>
On Wed, Jan 21, 2004 at 11:27:50AM +0100, Andreas Schwab wrote:
> This worked with previous versions:
>
> $ cat engine.s
> .text
> .align 16
> .global engine2#
> .proc engine2#
> engine2:
> .body
> .mmi
> ld8.mov r14 = [r15], rp#
> ;;
> ld8.mov r15 = [r16], UP#
> nop.i 0
> .mmb
> (p7) ld8.mov r8 = [r17], symbols.0#
> st8 [r14] = r34
> (p7) br.cond.dpnt .L1
> .mmi
> adds r14 = -8, r32
> ;;
> ld8 r34 = [r15]
> nop.i 0
> .mmi
> ld8 r14 = [r14]
> ;;
> nop.m 0
> mov b6 = r14
> .L1259:
> .mib
> nop.m 0
> nop.i 0
> br b6
> ;;
> .L660:
> #APP
> .=.+16
> #NO_APP
> ;;
> .L2:
> .endp engine2#
> $ as engine.s
> engine.s: Assembler messages:
> engine.s:38: Fatal error: only constant offsets are supported
>
The ia64 assembler can't handle it right for unwind record. You can
use
.skip 16
instead.
H.J.