Re: [PATCH] Fix up libffi linux64*.S for ppc32-linux

2014-09-10 Thread Alan Modra
On Wed, Sep 10, 2014 at 04:48:33PM +0200, Jakub Jelinek wrote: > * src/powerpc/linux64.S: Emit .note.GNU-stack even when > POWERPC64 is not defined. > * src/powerpc/linux64_closure.S: Likewise. Also test _CALL_ELF == 2. Looks reasononable to me, and oops, I think I introduced th

[PATCH] Fix up libffi linux64*.S for ppc32-linux

2014-09-10 Thread Jakub Jelinek
Hi! I've noticed that on 4.8 branch libgo recently (in the last few months) started being linked with GNU_STACK 0x00 0x 0x 0x0 0x0 RWE 0x10 i.e. requiring executable stack on powerpc-linux (32-bit). The problem is that we link into libffi linux64.o and linux64_c