diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2002-03-25 19:17:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2002-03-25 19:17:40 +0000 |
commit | 56ae94053e43f94c02d4c509c687afb4cbf9588b (patch) | |
tree | f5cbccaa7e4a41e4db268240c81888cfe8056baf /gcc/config/mcore | |
parent | c88770e9dfa1b4c4175e39a3a62264c8bcb0043b (diff) | |
download | gcc-56ae94053e43f94c02d4c509c687afb4cbf9588b.zip gcc-56ae94053e43f94c02d4c509c687afb4cbf9588b.tar.gz gcc-56ae94053e43f94c02d4c509c687afb4cbf9588b.tar.bz2 |
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
Diffstat (limited to 'gcc/config/mcore')
-rw-r--r-- | gcc/config/mcore/mcore-pe.h | 4 | ||||
-rw-r--r-- | gcc/config/mcore/mcore.h | 7 | ||||
-rw-r--r-- | gcc/config/mcore/t-mcore-pe | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/config/mcore/mcore-pe.h b/gcc/config/mcore/mcore-pe.h index 067706c..efd9087 100644 --- a/gcc/config/mcore/mcore-pe.h +++ b/gcc/config/mcore/mcore-pe.h @@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */ #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 "mcore/mcore.h" #include "dbxcoff.h" diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h index 40f0ab2..22fee84 100644 --- a/gcc/config/mcore/mcore.h +++ b/gcc/config/mcore/mcore.h @@ -178,9 +178,10 @@ extern const char * mcore_stack_increment_string; N_("Maximum amount for a single stack increment operation")} \ } -/* 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}" +#ifndef CC1_SPEC +/* The MCore ABI says that bitfields are unsigned by default. */ +#define CC1_SPEC "-funsigned-bitfields" +#endif /* What options are we going to default to specific settings when -O* happens; the user can subsequently override these settings. diff --git a/gcc/config/mcore/t-mcore-pe b/gcc/config/mcore/t-mcore-pe index 0c94d38..294f404 100644 --- a/gcc/config/mcore/t-mcore-pe +++ b/gcc/config/mcore/t-mcore-pe @@ -30,7 +30,7 @@ MULTILIB_MATCHES = MULTILIB_EXTRA_OPTS = MULTILIB_EXCEPTIONS = -EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o +# EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib |