aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRoland McGrath <roland@frob.com>2002-02-17 23:06:55 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2002-02-17 18:06:55 -0500
commitddb284412e1e626ad8fb11e673e91953d2bc64fd (patch)
tree73e5b9ef750e77f83ed342c995798cd3cb32ed14 /gcc/config.gcc
parentf6f8ada39ab16554f222bdc0a84a44689a44cc36 (diff)
downloadgcc-ddb284412e1e626ad8fb11e673e91953d2bc64fd.zip
gcc-ddb284412e1e626ad8fb11e673e91953d2bc64fd.tar.gz
gcc-ddb284412e1e626ad8fb11e673e91953d2bc64fd.tar.bz2
config.gcc (powerpc-*-gnu-gnualtivec*, [...]): New configurations.
2002-01-21 Roland McGrath <roland@frob.com> * config.gcc (powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. * config/rs6000/gnu.h: New file. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Grok "gnu" in rs6000_abi_name. (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Grok -mcall-gnu analogous to -mcall-linux et al. (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. From-SVN: r49826
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 9408bb0..8a125c4 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2679,6 +2679,11 @@ powerpc64-*-linux*)
out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
;;
+powerpc64-*-gnu*)
+ tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux64.h rs6000/gnu.h"
+ out_file=rs6000/rs6000.c
+ tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
+ ;;
powerpc-*-beos*)
tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h"
xm_defines=POSIX
@@ -2783,6 +2788,22 @@ powerpc-*-linux*)
thread_file='posix'
fi
;;
+powerpc-*-gnu-gnualtivec*)
+ tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h"
+ out_file=rs6000/rs6000.c
+ tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
+powerpc-*-gnu*)
+ tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h"
+ out_file=rs6000/rs6000.c
+ tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
powerpc-wrs-vxworks*)
xm_defines=POSIX
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/vxppc.h"