summaryrefslogtreecommitdiff
path: root/config/arch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-17 12:30:52 (GMT)
committerMircea Gherzan <mgherzan@gmail.com>2011-09-17 12:30:52 (GMT)
commit6fea2cfd092e6825d0df397425d8236317e46475 (patch)
tree753e677872ca85e45f0757f0c3164bbf76f854b2 /config/arch
parent4785e58e4215cc1bcfdd15517040ab7e09b6bc39 (diff)
gcc: add support for the PowerPC EABI
Signed-off-by: Mircea Gherzan <mgherzan@gmail.com> [yann.morin.1998@anciens.enib.fr: rm trailing space] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/arch')
-rw-r--r--config/arch/powerpc.in.230
1 files changed, 28 insertions, 2 deletions
diff --git a/config/arch/powerpc.in.2 b/config/arch/powerpc.in.2
index f54ec55..2cbc370 100644
--- a/config/arch/powerpc.in.2
+++ b/config/arch/powerpc.in.2
@@ -1,8 +1,32 @@
# powerpc specific configuration file
-config ARCH_POWERPC_SPE
+config ARCH_powerpc_ABI
+ string
+ default "" if ARCH_powerpc_ABI_DEFAULT
+ default "eabi" if ARCH_powerpc_ABI_EABI
+ default "spe" if ARCH_powerpc_ABI_SPE
+
+choice
+ bool
+ prompt "ABI"
+ default ARCH_powerpc_ABI_DEFAULT
+
+config ARCH_powerpc_ABI_DEFAULT
+ bool
+ prompt "default"
+ help
+ The default ABI (System V.4).
+
+config ARCH_powerpc_ABI_EABI
bool
- prompt "Enable SPE support"
+ prompt "EABI"
+ depends on BARE_METAL
+ help
+ The Embedded ABI (stack alignment of 8 bytes, etc).
+
+config ARCH_powerpc_ABI_SPE
+ bool
+ prompt "SPE"
help
Add support for the Signal Processing Engine. This will set up
the toolchain so that it supports the SPE ABI extensions. This
@@ -14,3 +38,5 @@ config ARCH_POWERPC_SPE
will also automatically add "-mabi=spe -mspe" to your TARGET_CFLAGS,
and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you
do not need to explicitly add them.
+
+endchoice