> This surprises me, you accept there arbitrary
> offsets and throw them away. If it behaves like i?86 GOTOFF,
> then I'd expect you want to remember the offset and
>
> > +
> > if (GET_CODE (y) == UNSPEC
> > ! && (XINT (y, 1) == UNSPEC_GOTOFF
> > ! || XINT (y, 1) == UNSPEC_PL
On Tue, Mar 22, 2011 at 08:30:47AM +0100, Andreas Krebbel wrote:
> Index: gcc/config/s390/s390.c
> ===
> *** gcc/config/s390/s390.c.orig
> --- gcc/config/s390/s390.c
> *** s390_delegitimize_address (rtx orig_x)
> *** 5019,5
Hi,
the attached patch adds handling for PLT and PLTOFF unspecs for S/390.
With the patch also constant addends to PLTOFF and GOTOFF are
accepted.
This fixes Java bootstrap for s390x.
Applied to mainline.
Bye,
-Andreas-
2011-03-22 Andreas Krebbel
* config/s390/s390.c (s390_delegit