diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-01-08 19:03:20 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-01-08 19:03:20 +0000 |
commit | 0d24f4d1314fbfc9a42fe7839179d20dc2e6b0dd (patch) | |
tree | a1f592db0d3440c72c8daede62b2c3b7eee7ad28 /gcc/cppinit.c | |
parent | ed722f66ddd7eaeadfd39b6cde2580856f17da07 (diff) | |
download | gcc-0d24f4d1314fbfc9a42fe7839179d20dc2e6b0dd.zip gcc-0d24f4d1314fbfc9a42fe7839179d20dc2e6b0dd.tar.gz gcc-0d24f4d1314fbfc9a42fe7839179d20dc2e6b0dd.tar.bz2 |
Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or except.h.
* Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
(cppinit.o): Depend on except.h.
(gencheck.h, options.h, specs.h, s-gencheck, s-options,
s-specs): New rules.
* configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
Don't create specs.h/options.h/gencheck.h here. Remove
unnecessary variable settings from last argument of AC_OUTPUT.
* config.in, configure: Regenerate.
* intl.c: Hardcode package name as "gcc".
* cppinit.c: Include except.h.
(builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
appropriate.
* unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
(!)USING_SJLJ_EXCEPTIONS.
* doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
From-SVN: r48651
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 93b2702..c0f0348 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -28,6 +28,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "version.h" #include "mkdeps.h" #include "cppdefault.h" +#include "except.h" /* for USING_SJLJ_EXCEPTIONS */ /* Predefined symbols, built-in macros, and the default include path. */ @@ -641,6 +642,10 @@ static const struct builtin builtin_array[] = X("__USER_LABEL_PREFIX__", ULP), C("__REGISTER_PREFIX__", REGISTER_PREFIX), C("__HAVE_BUILTIN_SETJMP__", "1"), +#if USING_SJLJ_EXCEPTIONS + /* libgcc needs to know this. */ + C("__USING_SJLJ_EXCEPTIONS__","1"), +#endif #ifndef NO_BUILTIN_SIZE_TYPE C("__SIZE_TYPE__", SIZE_TYPE), #endif |