Add support for powerpc64, along with an EXPERIMENTAL sample.
/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 -
/trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 -
/trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++
/trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 +
/trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 -
/trunk/config/arch/powerpc.in | 15 0 15 0 -
/trunk/config/arch/powerpc64.in | 19 3 16 0 -
7 files changed, 400 insertions(+), 79 deletions(-)
1 # Compute powerpc-specific values
3 CT_DoArchTupleValues () {
4 # The architecture part of the tuple:
5 CT_TARGET_ARCH="${CT_ARCH}"
10 # Add spe in the tuplet if needed
11 case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
12 glibc,|eglibc,) CT_TARGET_SYS=gnu;;
13 glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
16 # Add extra flags for SPE if needed
17 if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
18 CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
19 CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
20 CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"