This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Gas regressions for cris-elf
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 6 Apr 2006 13:31:46 +0930
- Subject: Re: Gas regressions for cris-elf
- References: <200604060348.k363musM030804@ignucius.se.axis.com>
On Thu, Apr 06, 2006 at 05:48:56AM +0200, Hans-Peter Nilsson wrote:
> /h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:37: Error: Immediate value not in 8 bit range: -327683
Yes, this is probably my patch.
.data
.globl back_ref_data_zero
back_ref_data_zero:
.space 42,0
.globl back_ref_data_fortytwo
back_ref_data_fortytwo:
.text
add.b back_ref_data_fortytwo-back_ref_data_zero,r5
back_ref_data_fortytwo-back_ref_data_zero ought to be evaluated
immediately, because even though the syms are in separate frags they
have a fixed relationship. I'm probably calculating .space
incorrectly. Will investigate.
--
Alan Modra
IBM OzLabs - Linux Technology Centre