[PATCH] IBM zSystems: Accept (. - 0x100000000) PCRel32 operands

Ilya Leoshkevich iii@linux.ibm.com
Wed May 4 10:20:57 GMT 2022


On Wed, 2022-05-04 at 11:59 +0930, Alan Modra wrote:
> On Tue, May 03, 2022 at 12:48:58PM +0200, Ilya Leoshkevich wrote:
> > Fix the second problem by introducing fx_shift and setting it in
> > the
> > s390 backend.
> 
> I think you could do without fx_shift by arithmetic shifting *valP
> right by one for relevant fixups in the s390 md_apply_fix.
> 

Thanks for the hint!
Having looked into that code, I think we can simply set fx_no_overflow,
because s390_insert_operand () does its own range checking.

I'll send a s390-only v2.


More information about the Binutils mailing list