Fixed some stack size allocation in G5's mixed mode.
[official-gcc.git] / gcc / config / rs6000 / t-rtems
blob364a22d22783db8df3867b1de38c95f4e42e0a13
1 # Multilibs for powerpc RTEMS targets.
3 MULTILIB_OPTIONS        = \
4 mcpu=403/mcpu=505/mcpu=601/mcpu=602/mcpu=603/mcpu=603e/mcpu=604/mcpu=750/mcpu=821/mcpu=860 \
5 Dmpc509/Dmpc8260 \
6 D_OLD_EXCEPTIONS \
7 msoft-float
9 MULTILIB_DIRNAMES       = \
10 m403 m505 m601 m602 m603 m603e m604 m750 m821 m860 \
11 mpc509 \
12 mpc8260 \
13 roe \
14 nof
16 MULTILIB_EXTRA_OPTS     = mrelocatable-lib mno-eabi mstrict-align
18 # MULTILIB_MATCHES      = ${MULTILIB_MATCHES_FLOAT}
19 MULTILIB_MATCHES        = ${MULTILIB_MATCHES_ENDIAN} \
20                           ${MULTILIB_MATCHES_SYSV} \
21                           mcpu?505/Dmpc505=mcpu?505/Dmpc509
24 # RTEMS old/new-exceptions handling
26 # old-exception processing is depredicated, therefore
28 # * Cpu-variants supporting new exception processing are build 
29 # with new exception processing only
30 # * Cpu-variants not having been ported to new exception processing are
31 # build with old and new exception processing
34 # Cpu-variants supporting new exception processing only
35 MULTILIB_NEW_EXCEPTIONS_ONLY = \
36 *mcpu=604*/*D_OLD_EXCEPTIONS* \
37 *mcpu=750*/*D_OLD_EXCEPTIONS* \
38 *mcpu=821*/*D_OLD_EXCEPTIONS* \
39 *Dmpc8260*/*D_OLD_EXCEPTIONS* \
40 *mcpu=860*/*D_OLD_EXCEPTIONS*
42 # Soft-float only, default implies msoft-float
43 # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
44 MULTILIB_SOFTFLOAT_ONLY = \
45 mcpu=403/*msoft-float* \
46 mcpu=821/*msoft-float* \
47 mcpu=860/*msoft-float*
49 # Hard-float only, take out msoft-float
50 MULTILIB_HARDFLOAT_ONLY = \
51 mcpu=505/*msoft-float*
53 MULTILIB_EXCEPTIONS =
55 # Disallow -D_OLD_EXCEPTIONS without other options
56 MULTILIB_EXCEPTIONS     += D_OLD_EXCEPTIONS*
58 # Disallow -Dppc and -Dmpc without other options
59 MULTILIB_EXCEPTIONS     += Dppc* Dmpc*
61 MULTILIB_EXCEPTIONS     += \
62 ${MULTILIB_NEW_EXCEPTIONS_ONLY} \
63 ${MULTILIB_SOFTFLOAT_ONLY} \
64 ${MULTILIB_HARDFLOAT_ONLY}
66 # Special rules
67 # Take out all variants we don't want
68 MULTILIB_EXCEPTIONS += mcpu=403/Dmpc509*
69 MULTILIB_EXCEPTIONS += mcpu=403/Dmpc8260*
70 MULTILIB_EXCEPTIONS += mcpu=505/Dmpc509*
71 MULTILIB_EXCEPTIONS += mcpu=505/Dmpc8260*
72 MULTILIB_EXCEPTIONS += mcpu=601/Dmpc509*
73 MULTILIB_EXCEPTIONS += mcpu=601/Dmpc8260*
74 MULTILIB_EXCEPTIONS += mcpu=602/Dmpc509*
75 MULTILIB_EXCEPTIONS += mcpu=602/Dmpc8260*
76 MULTILIB_EXCEPTIONS += mcpu=603/Dmpc509*
77 MULTILIB_EXCEPTIONS += mcpu=603/Dmpc8260*
78 MULTILIB_EXCEPTIONS += mcpu=603e/Dmpc509*
79 MULTILIB_EXCEPTIONS += mcpu=604/Dmpc509*
80 MULTILIB_EXCEPTIONS += mcpu=604/Dmpc8260*
81 MULTILIB_EXCEPTIONS += mcpu=750/Dmpc509*
82 MULTILIB_EXCEPTIONS += mcpu=750/Dmpc8260*
83 MULTILIB_EXCEPTIONS += mcpu=821/Dmpc509*
84 MULTILIB_EXCEPTIONS += mcpu=821/Dmpc8260*
85 MULTILIB_EXCEPTIONS += mcpu=860/Dmpc509*
86 MULTILIB_EXCEPTIONS += mcpu=860/Dmpc8260*