[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags
From: |
Andrei Borzenkov |
Subject: |
Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags |
Date: |
Thu, 16 Jul 2015 22:30:57 +0300 |
В Thu, 16 Jul 2015 21:05:07 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> On 16.07.2015 20:55, Andrei Borzenkov wrote:
> > В Wed, 15 Jul 2015 19:42:39 +0200
> > Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> >
> >>
> >>> It is possible to compile using "--target=powerpc -Wl,-EB" - this works
> >>> on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld
> >>> dependency.
> >>>
> >> Thanks for this info.
> >> See attached patch
> >
> > Test has to come before asm tests (so that we are sure to compile
> > for the right target).
> >
> > But real problem is that -Wl,-EB has to be added to TARGET_LDFLAGS only
> >
> Yes, discovered it already and updated the patch
Yes, this version builds OK both in native PPC environment as well as
cross-compiling.
pgpI46IpCftye.pgp
Description: OpenPGP digital signature
Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags, Vladimir 'φ-coder/phcoder' Serbinenko, 2015/07/15