[PATCH 0/4] powerpc/e500: rework compiler flags

Scott Wood scottwood at freescale.com
Wed Aug 21 12:12:38 EST 2013


This replaces the reverted "powerpc/e500: Update compilation flags with
core specific options" with a more multiplatform friendly approach
(on 64-bit) and hopefully without breaking anything this time. :-)

This patchset touches parts of code that are also touched by
http://patchwork.ozlabs.org/patch/261248/, so that patch is a
prerequisite.

Scott Wood (4):
  powerpc: Convert some mftb/mftbu into mfspr
  powerpc/85xx: Remove -Wa,-me500
  powerpc/booke64: Use appropriate -mcpu
  powerpc/e500: Set -mcpu flag for 32-bit e500

 arch/powerpc/Makefile                     | 18 +++++++++++++++++-
 arch/powerpc/boot/ppc_asm.h               |  3 +++
 arch/powerpc/boot/util.S                  | 10 +++++-----
 arch/powerpc/include/asm/ppc_asm.h        |  4 ++--
 arch/powerpc/include/asm/reg.h            | 15 ++++++++++-----
 arch/powerpc/include/asm/timex.h          |  4 ++--
 arch/powerpc/kernel/vdso32/gettimeofday.S |  6 +++---
 arch/powerpc/platforms/85xx/smp.c         |  6 ++++--
 arch/powerpc/platforms/Kconfig.cputype    | 13 +++++++++++++
 9 files changed, 59 insertions(+), 20 deletions(-)

-- 
1.8.1.2




More information about the Linuxppc-dev mailing list