This is the mail archive of the binutils@sourceware.org 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: Gas regressions for cris-elf


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


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