diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-17 14:30:52 +0200 |
---|---|---|
committer | Mircea Gherzan <mgherzan@gmail.com> | 2011-09-17 14:30:52 +0200 |
commit | 6fea2cfd092e6825d0df397425d8236317e46475 (patch) | |
tree | 753e677872ca85e45f0757f0c3164bbf76f854b2 /config/arch | |
parent | 4785e58e4215cc1bcfdd15517040ab7e09b6bc39 (diff) | |
download | crosstool-ng-6fea2cfd092e6825d0df397425d8236317e46475.tar.gz crosstool-ng-6fea2cfd092e6825d0df397425d8236317e46475.tar.bz2 crosstool-ng-6fea2cfd092e6825d0df397425d8236317e46475.zip |
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.2 | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/config/arch/powerpc.in.2 b/config/arch/powerpc.in.2 index f54ec55f..2cbc3700 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 |