aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-12-11 19:29:58 +1300
committerChris Packham <judge.packham@gmail.com>2022-12-14 17:11:16 +1300
commitdcb34c5a87f50387f864736d34bb018b3dae2939 (patch)
tree776277c18c4cd78f1269fd51e593d89e16a574a4 /samples
parentdb4b7179ed83cedd87e5b79ef39e93a7b108238f (diff)
downloadcrosstool-ng-dcb34c5a87f50387f864736d34bb018b3dae2939.tar.gz
crosstool-ng-dcb34c5a87f50387f864736d34bb018b3dae2939.tar.bz2
crosstool-ng-dcb34c5a87f50387f864736d34bb018b3dae2939.zip
samples: Cosmetic improvements to powerpc-e500v2-linux-gnuspe
--enable-e500_double was valid but strange (the correct form is --enable-e500-double). -Wa,-me500x2 was also misleading, it is equivalent to Wa,-me500. --enable-e500x2 --with-e500x2 did nothing as they aren't used by the binutils configure script. Finally passing -mfloat-gprs=double in CFLAGS is unnecessary because this is the default when using -mcpu=8548. Correct these in the sample config. Fixes #1867 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/powerpc-e500v2-linux-gnuspe/crosstool.config8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config
index ef76f7dd..4a7a7a2b 100644
--- a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config
+++ b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config
@@ -3,12 +3,12 @@ CT_ARCH_POWERPC=y
CT_ARCH_CPU="8548"
CT_ARCH_powerpc_ABI_SPE=y
CT_ARCH_FLOAT_SW=y
-CT_TARGET_CFLAGS="-mfloat-gprs=double -Wa,-me500x2"
+CT_TARGET_CFLAGS="-Wa,-me500"
CT_TARGET_VENDOR="e500v2"
CT_KERNEL_LINUX=y
-CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-spe=yes --enable-e500x2 --with-e500x2"
-CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-e500_double"
-CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-e500_double"
+CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-spe=yes"
+CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-e500-double"
+CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-e500-double"
# CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
CT_CC_GCC_LDBL_128=y
CT_CC_LANG_CXX=y