grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags


From: Paulo Flabiano Smorigo
Subject: Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags
Date: Mon, 20 Jul 2015 10:01:10 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 2015-07-16 16:30, Andrei Borzenkov wrote:
В 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.


_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel

Here works too. Both native and cross-compiled.
-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center

reply via email to

[Prev in Thread] Current Thread [Next in Thread]