diff options
author | Ralf Corsepius <corsepiu@faw.uni-ulm.de> | 2003-01-30 14:22:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel@gcc.gnu.org> | 2003-01-30 14:22:53 +0000 |
commit | 0186a143cb0f11fdd3e5c5baf6968bcd59b154e1 (patch) | |
tree | c15f8cf363932dee158eac20827da4073bd4b069 /gcc | |
parent | f55d710361cb1cdb9af48bf38b88842825fca549 (diff) | |
download | gcc-0186a143cb0f11fdd3e5c5baf6968bcd59b154e1.zip gcc-0186a143cb0f11fdd3e5c5baf6968bcd59b154e1.tar.gz gcc-0186a143cb0f11fdd3e5c5baf6968bcd59b154e1.tar.bz2 |
re PR target/9316 (powerpc-rtems/extending multilibs)
2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR target/9316
* config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
* config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
* config/rs6000/t-rtems: New file. multilib variants to match OS.
* config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
rs6000/t-ppcgas so we get the desired multilibs.
From-SVN: r62139
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rtems.h | 5 |
3 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc222aa..da8f117 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + PR target/9316 + * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC. + * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC. + * config/rs6000/t-rtems: New file. multilib variants to match OS. + * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of + rs6000/t-ppcgas so we get the desired multilibs. + 2003-01-30 Nick Clifton <nickc@redhat.com> * config/arm/arm.c (arm_output_epilogue): Update stack pointer diff --git a/gcc/config.gcc b/gcc/config.gcc index a5a1fce..5379dfa 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2042,7 +2042,7 @@ powerpc-*-eabi*) powerpc-*-rtems*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h rtems.h" - tmake_file="rs6000/t-fprules rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-rtems t-rtems rs6000/t-ppccomm" if test x$enable_threads = xyes; then thread_file='rtems' fi diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index 072d86c..7e75846 100644 --- a/gcc/config/rs6000/rtems.h +++ b/gcc/config/rs6000/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a PowerPC using elf. - Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -32,3 +32,6 @@ Boston, MA 02111-1307, USA. */ builtin_assert ("machine=powerpc"); \ } \ while (0) + +#undef CPP_OS_DEFAULT_SPEC +#define CPP_OS_DEFAULT_SPEC "%(cpp_os_rtems)" |