diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2011-02-18 00:07:38 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2011-02-18 00:07:38 +0000 |
commit | d764a8e6bdae09aecb7a8378def9d900f84ce53e (patch) | |
tree | c0b6f091c931f0a65e3fb59fbd9fff3f5ba9bde9 /gcc/objc/objc-lang.c | |
parent | 0a8134cacea8b18b0e241cc492546cbb69ae598a (diff) | |
download | gcc-d764a8e6bdae09aecb7a8378def9d900f84ce53e.zip gcc-d764a8e6bdae09aecb7a8378def9d900f84ce53e.tar.gz gcc-d764a8e6bdae09aecb7a8378def9d900f84ce53e.tar.bz2 |
Added support for the 64-bit Apple Objective-C runtime
From-SVN: r170260
Diffstat (limited to 'gcc/objc/objc-lang.c')
-rw-r--r-- | gcc/objc/objc-lang.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c index e4ae292..fd657765 100644 --- a/gcc/objc/objc-lang.c +++ b/gcc/objc/objc-lang.c @@ -1,5 +1,5 @@ /* Language-dependent hooks for Objective-C. - Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010 + Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. Contributed by Ziemowit Laski <zlaski@apple.com> @@ -33,6 +33,7 @@ along with GCC; see the file COPYING3. If not see #include "langhooks.h" #include "langhooks-def.h" #include "c-objc-common.h" +#include "c-lang.h" enum c_language_kind c_language = clk_objc; static void objc_init_ts (void); @@ -51,13 +52,6 @@ static void objc_init_ts (void); #undef LANG_HOOKS_INIT_TS #define LANG_HOOKS_INIT_TS objc_init_ts -#ifndef OBJCPLUS -#undef LANG_HOOKS_EH_PERSONALITY -#define LANG_HOOKS_EH_PERSONALITY objc_eh_personality -#undef LANG_HOOKS_EH_RUNTIME_TYPE -#define LANG_HOOKS_EH_RUNTIME_TYPE objc_eh_runtime_type -#endif - /* Each front end provides its own lang hook initializer. */ struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; |