On 2015-07-16 16:30, Andrei Borzenkov wrote:
В Thu, 16 Jul 2015 21:05:07 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> пишет:

On 16.07.2015 20:55, Andrei Borzenkov wrote:
В Wed, 15 Jul 2015 19:42:39 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> пишет:

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
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Here works too. Both native and cross-compiled.

--
Paulo Flabiano Smorigo
IBM Linux Technology Center

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

Reply via email to