RE: [PATCH v2] powerpc: Update compilation flags with core specific options

2013-07-29 Thread Udma Catalin-Dan-B32721
> > The assembler option is redundant if the -mcpu= flag is set. > > The patch fixes the kernel compilation problem for e5500/e6500 > > when using gcc option -mcpu=e5500/e6500. > > > > Signed-off-by: Catalin Udma > > --- > > changes for v2: > >- update also KBUILD_AFLAGS with -mcpu and -msoft-

RE: [PATCH] Update compilation flags with core specific options

2013-07-24 Thread Udma Catalin-Dan-B32721
> This breaks the vdso for e500v1/v2 (userspace dies with SIGILL), since > KBUILD_CFLAGS doesn't get used when building asm files, and the vdso > uses mftbu/mftbl which are not being assembled to the form that > e500v1/v2 support. > > We should be setting -mcpu=whatever and -msoft-float in both CF

[PATCH] powerpc: Update compilation flags with core specific options

2013-07-01 Thread Udma Catalin-Dan-B32721
From: Catalin Udma If CONFIG_E500 is enabled, the compilation flags are updated specifying the target core -mcpu=e5500/e500mc/8540 Also remove -Wa,-me500, being incompatible with -mcpu=e5500/e6500 The assembler option is redundant if the -mcpu= flag is set. The patch fixes the kernel compilation