This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IA64 assembler can't handle constant org offsets


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]