* [PATCH] powerpc/64be: must build vdso32 as BE on LE host
@ 2016-08-08 9:35 Nicholas Piggin
2016-08-09 10:53 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Piggin @ 2016-08-08 9:35 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Nicholas Piggin, Michael Ellerman
vdso32 should be built with `gcc -m32 --big-endian` when compiling a big
endian kernel.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 709a22a..bf183b2a 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -82,6 +82,8 @@ else
ifeq ($(call cc-option-yn,-mbig-endian),y)
override CC += -mbig-endian
override AS += -mbig-endian
+override CROSS32CC += -mbig-endian
+override CROSS32AS += -mbig-endian
endif
override LD += -EB
LDEMULATION := ppc
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc/64be: must build vdso32 as BE on LE host
2016-08-08 9:35 [PATCH] powerpc/64be: must build vdso32 as BE on LE host Nicholas Piggin
@ 2016-08-09 10:53 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2016-08-09 10:53 UTC (permalink / raw)
To: Nicholas Piggin, linuxppc-dev; +Cc: Nicholas Piggin
Nicholas Piggin <npiggin@gmail.com> writes:
> vdso32 should be built with `gcc -m32 --big-endian` when compiling a big
> endian kernel.
I think I have a better solution. Patch coming RSN.
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-09 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 9:35 [PATCH] powerpc/64be: must build vdso32 as BE on LE host Nicholas Piggin
2016-08-09 10:53 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).