[PATCH] powerpc: 32 bit getcpu VDSO function uses 64 bit instructions

Segher Boessenkool segher at kernel.crashing.org
Thu Nov 27 10:28:19 AEDT 2014


On Wed, Nov 26, 2014 at 05:23:18PM -0600, Segher Boessenkool wrote:
> GCC has added -many to the assembler flags for over ten years now, so
> no that will not work.  You can use -mppc or similar with the assembler
> if you invoke it correctly (use  $(CC) -print-prog-name=as  to figure
s/correctly/directly/
> out how to call the assembler, if you want to stay sane and use the
> same one as the rest of the toolchain you use).
> 
> 
> Segher


More information about the Linuxppc-dev mailing list