* rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405.
* sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405.
From-SVN: r48319
+2001-12-26 David Edelsohn <edelsohn@gnu.org>
+
+ * rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405.
+ * sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405.
+
2001-12-26 DJ Delorie <dj@redhat.com>
* function.c (expand_main_function): Make sure stack adjustments
%{mcpu=rsc1: -D_ARCH_PWR} \
%{mcpu=401: -D_ARCH_PPC} \
%{mcpu=403: -D_ARCH_PPC} \
+%{mcpu=405: -D_ARCH_PPC} \
%{mcpu=505: -D_ARCH_PPC} \
%{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \
%{mcpu=602: -D_ARCH_PPC} \
%{mcpu=rsc1: -mpwr} \
%{mcpu=401: -mppc} \
%{mcpu=403: -mppc} \
+%{mcpu=405: -mppc} \
%{mcpu=505: -mppc} \
%{mcpu=601: -m601} \
%{mcpu=602: -mppc} \
((DEFAULT_ABI == ABI_AIX \
|| DEFAULT_ABI == ABI_DARWIN \
|| DEFAULT_ABI == ABI_AIX_NODESC) ? (TARGET_32BIT ? 8 : 16) : \
- (DEFAULT_ABI == ABI_V4) ? (TARGET_32BIT ? 4 : 8) : \
+ (DEFAULT_ABI == ABI_V4) ? 4 : \
(internal_error ("RETURN_ADDRESS_OFFSET not supported"), 0))
/* The current return address is in link register (65). The return address
%{!msoft-float: %{!mhard-float: \
%{mcpu=401: -D_SOFT_FLOAT} \
%{mcpu=403: -D_SOFT_FLOAT} \
+ %{mcpu=405: -D_SOFT_FLOAT} \
%{mcpu=ec603e: -D_SOFT_FLOAT} \
%{mcpu=801: -D_SOFT_FLOAT} \
%{mcpu=821: -D_SOFT_FLOAT} \
%{mcpu=powerpc: -DCPU=PPC603} \
%{mcpu=401: -DCPU=PPC403} \
%{mcpu=403: -DCPU=PPC403} \
+%{mcpu=405: -DCPU=PPC405} \
%{mcpu=601: -DCPU=PPC601} \
%{mcpu=602: -DCPU=PPC603} \
%{mcpu=603: -DCPU=PPC603} \