Commit 56ae9405 by Nick Clifton Committed by Nick Clifton

Fixes for PR bootstrap/3591, target/5676:

* configure.in (mcore-pe): Disable the configuration of
  libstdc++-v3 since exceptions are not supported.
* config/mcore/mcore.h (CC1_SPEC): Define only if not already
  defined.  Do not disable exceptions or rtti.
* config/mcore/mcore-pe.h (CC1_SPEC): Define before including
  mcore.h.  Disable exceptions and rtti, since they are not
  supported by EPOC.

From-SVN: r51326
parent c88770e9
2002-03-24 Nick Clifton <nickc@cambridge.redhat.com>
Fix for: PR bootstrap/3591, target/5676
* configure.in (mcore-pe): Disable the configuration of
libstdc++-v3 since exceptions are not supported.
2002-03-20 Anthony Green <green@redhat.com> 2002-03-20 Anthony Green <green@redhat.com>
* configure.in: Enable libgcj for xscale-elf target. * configure.in: Enable libgcj for xscale-elf target.
......
...@@ -866,6 +866,11 @@ case "${target}" in ...@@ -866,6 +866,11 @@ case "${target}" in
target_configdirs="${target_configdirs} target-bsp target-cygmon" target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi fi
;; ;;
mcore-*-pe*)
# The EPOC C++ environment does not support exceptions or rtti,
# and so building libstdc++-v3 tends not to always work.
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
mmix-*-*) mmix-*-*)
noconfigdirs="$noconfigdirs ${libgcj}" noconfigdirs="$noconfigdirs ${libgcj}"
;; ;;
......
2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
Fixes for: PR bootstrap/3591, target/5676
* config/mcore/mcore.h (CC1_SPEC): Define only if not already
defined. Do not disable exceptions or rtti.
* config/mcore/mcore-pe.h (CC1_SPEC): Define before including
mcore.h. Disable exceptions and rtti, since they are not
supported by EPOC.
2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
* c-decl.c (maybe_build_cleanup): Remove. * c-decl.c (maybe_build_cleanup): Remove.
......
...@@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */
#define SUBTARGET_CPP_PREDEFINES " -D__pe__" #define SUBTARGET_CPP_PREDEFINES " -D__pe__"
/* The MCore ABI says that bitfields are unsigned by default. */
/* The EPOC C++ environment does not support exceptions. */
#define CC1_SPEC "-funsigned-bitfields %{!DIN_GCC:-fno-rtti} %{!DIN_GCC:-fno-exceptions}"
#include "svr3.h" #include "svr3.h"
#include "mcore/mcore.h" #include "mcore/mcore.h"
#include "dbxcoff.h" #include "dbxcoff.h"
......
...@@ -178,9 +178,10 @@ extern const char * mcore_stack_increment_string; ...@@ -178,9 +178,10 @@ extern const char * mcore_stack_increment_string;
N_("Maximum amount for a single stack increment operation")} \ N_("Maximum amount for a single stack increment operation")} \
} }
#ifndef CC1_SPEC
/* The MCore ABI says that bitfields are unsigned by default. */ /* The MCore ABI says that bitfields are unsigned by default. */
/* The EPOC C++ environment does not support exceptions. */ #define CC1_SPEC "-funsigned-bitfields"
#define CC1_SPEC "-funsigned-bitfields %{!DIN_GCC:-fno-rtti} %{!DIN_GCC:-fno-exceptions}" #endif
/* What options are we going to default to specific settings when /* What options are we going to default to specific settings when
-O* happens; the user can subsequently override these settings. -O* happens; the user can subsequently override these settings.
......
...@@ -30,7 +30,7 @@ MULTILIB_MATCHES = ...@@ -30,7 +30,7 @@ MULTILIB_MATCHES =
MULTILIB_EXTRA_OPTS = MULTILIB_EXTRA_OPTS =
MULTILIB_EXCEPTIONS = MULTILIB_EXCEPTIONS =
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
LIBGCC = stmp-multilib LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib INSTALL_LIBGCC = install-multilib
......
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