Commit 3abbb738 by Ralf Corsepius Committed by Ralf Corsepius

t-rtems: Completely reworked.

2005-02-17  Ralf Corsepius  <ralf.corsepius@rtems.org>

	* config/rs6000/t-rtems: Completely reworked.

From-SVN: r95171
parent 9d182aa5
2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/rs6000/t-rtems: Completely reworked.
2005-02-17 Ira Rosen <irar@il.ibm.com> 2005-02-17 Ira Rosen <irar@il.ibm.com>
* tree-data-ref.c (array_base_name_differ_p): Remove gcc_assert. * tree-data-ref.c (array_base_name_differ_p): Remove gcc_assert.
......
# Multilibs for powerpc RTEMS targets. # Multilibs for powerpc RTEMS targets.
MULTILIB_OPTIONS = \ MULTILIB_OPTIONS = \
mcpu=403/mcpu=505/mcpu=601/mcpu=603/mcpu=603e/mcpu=604/mcpu=750/mcpu=821/mcpu=860 \
Dmpc509/Dmpc8260 \
D_OLD_EXCEPTIONS \ D_OLD_EXCEPTIONS \
mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
Dmpc8260 \
msoft-float msoft-float
MULTILIB_DIRNAMES = \ MULTILIB_DIRNAMES = \
m403 m505 m601 m603 m603e m604 m750 m821 m860 \
mpc509 \
mpc8260 \
roe \ roe \
m403 m505 m601 m603e m604 m860 m7400 \
mpc8260 \
nof nof
MULTILIB_EXTRA_OPTS = mrelocatable-lib mno-eabi mstrict-align MULTILIB_EXTRA_OPTS = mrelocatable-lib mno-eabi mstrict-align
MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT}
MULTILIB_MATCHES =
MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN}
MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV} MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV}
MULTILIB_MATCHES += mcpu?505/Dmpc505=mcpu?505/Dmpc509 # Map 405 to 403
MULTILIB_MATCHES += mcpu?603=mcpu?602 MULTILIB_MATCHES += mcpu?403=mcpu?405
# Map 602, 603e, 603 to 603e
MULTILIB_MATCHES += mcpu?603e=mcpu?602
MULTILIB_MATCHES += mcpu?603e=mcpu?603
# Map 801, 821, 823 to 860
MULTILIB_MATCHES += mcpu?860=mcpu?801
MULTILIB_MATCHES += mcpu?860=mcpu?821
MULTILIB_MATCHES += mcpu?860=mcpu?823
# Map 7450 to 7400
MULTILIB_MATCHES += mcpu?7400=mcpu?7450
# Map 750 to .
MULTILIB_MATCHES += mcpu?750=
# #
# RTEMS old/new-exceptions handling # RTEMS old/new-exceptions handling
...@@ -34,32 +47,39 @@ MULTILIB_MATCHES += mcpu?603=mcpu?602 ...@@ -34,32 +47,39 @@ MULTILIB_MATCHES += mcpu?603=mcpu?602
# Cpu-variants supporting new exception processing only # Cpu-variants supporting new exception processing only
MULTILIB_NEW_EXCEPTIONS_ONLY = \ MULTILIB_NEW_EXCEPTIONS_ONLY = \
*mcpu=505*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS \
*mcpu=601*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/msoft-float \
*mcpu=602*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/mcpu=505 \
*mcpu=603/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/mcpu=505/* \
*mcpu=604*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/mcpu=601 \
*mcpu=750*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/mcpu=601/* \
*mcpu=821*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/mcpu=604 \
*Dmpc8260*/*D_OLD_EXCEPTIONS* \ D_OLD_EXCEPTIONS/mcpu=604/* \
*mcpu=860*/*D_OLD_EXCEPTIONS* D_OLD_EXCEPTIONS/mcpu=750 \
D_OLD_EXCEPTIONS/mcpu=750/* \
D_OLD_EXCEPTIONS/mcpu=860 \
D_OLD_EXCEPTIONS/mcpu=860/* \
D_OLD_EXCEPTIONS/mcpu=7400 \
D_OLD_EXCEPTIONS/mcpu=7400/* \
D_OLD_EXCEPTIONS/*Dmpc*
# Soft-float only, default implies msoft-float # Soft-float only, default implies msoft-float
# NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
MULTILIB_SOFTFLOAT_ONLY = \ MULTILIB_SOFTFLOAT_ONLY = \
mcpu=403/*msoft-float* \ *mcpu=401/*msoft-float* \
mcpu=821/*msoft-float* \ *mcpu=403/*msoft-float* \
mcpu=860/*msoft-float* *mcpu=405/*msoft-float* \
*mcpu=801/*msoft-float* \
*mcpu=821/*msoft-float* \
*mcpu=823/*msoft-float* \
*mcpu=860/*msoft-float*
# Hard-float only, take out msoft-float # Hard-float only, take out msoft-float
MULTILIB_HARDFLOAT_ONLY = \ MULTILIB_HARDFLOAT_ONLY = \
mcpu=505/*msoft-float* *mcpu=505/*msoft-float*
MULTILIB_EXCEPTIONS = MULTILIB_EXCEPTIONS =
# Disallow -D_OLD_EXCEPTIONS without other options
MULTILIB_EXCEPTIONS += D_OLD_EXCEPTIONS*
# Disallow -Dppc and -Dmpc without other options # Disallow -Dppc and -Dmpc without other options
MULTILIB_EXCEPTIONS += Dppc* Dmpc* MULTILIB_EXCEPTIONS += Dppc* Dmpc*
...@@ -70,22 +90,10 @@ ${MULTILIB_HARDFLOAT_ONLY} ...@@ -70,22 +90,10 @@ ${MULTILIB_HARDFLOAT_ONLY}
# Special rules # Special rules
# Take out all variants we don't want # Take out all variants we don't want
MULTILIB_EXCEPTIONS += mcpu=403/Dmpc509* MULTILIB_EXCEPTIONS += *mcpu=403/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=403/Dmpc8260* MULTILIB_EXCEPTIONS += *mcpu=505/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=505/Dmpc509* MULTILIB_EXCEPTIONS += *mcpu=601/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=505/Dmpc8260* MULTILIB_EXCEPTIONS += *mcpu=604/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=601/Dmpc509* MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=601/Dmpc8260* MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=602/Dmpc509* MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
MULTILIB_EXCEPTIONS += mcpu=602/Dmpc8260*
MULTILIB_EXCEPTIONS += mcpu=603/Dmpc509*
MULTILIB_EXCEPTIONS += mcpu=603/Dmpc8260*
MULTILIB_EXCEPTIONS += mcpu=603e/Dmpc509*
MULTILIB_EXCEPTIONS += mcpu=604/Dmpc509*
MULTILIB_EXCEPTIONS += mcpu=604/Dmpc8260*
MULTILIB_EXCEPTIONS += mcpu=750/Dmpc509*
MULTILIB_EXCEPTIONS += mcpu=750/Dmpc8260*
MULTILIB_EXCEPTIONS += mcpu=821/Dmpc509*
MULTILIB_EXCEPTIONS += mcpu=821/Dmpc8260*
MULTILIB_EXCEPTIONS += mcpu=860/Dmpc509*
MULTILIB_EXCEPTIONS += mcpu=860/Dmpc8260*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment