c-common.c (flag_next_runtime): Move...
authorZiemowit Laski <zlaski@apple.com>
Wed, 29 Jun 2005 03:01:27 +0000 (03:01 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Wed, 29 Jun 2005 03:01:27 +0000 (03:01 +0000)
[gcc/ChangeLog]
2006-06-28  Ziemowit Laski  <zlaski@apple.com>

       * c-common.c (flag_next_runtime): Move...
       * toplev.c (flag_next_runtime): ... here.
       * c-common.h (flag_next_runtime): Move...
       * flags.h (flag_next_runtime): ... here.
       * config/darwin-c.c: Include flags.h.
       * config/t-darwin (darwin-c.o): Depend on flags.h.

From-SVN: r101415

gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/config/darwin-c.c
gcc/config/t-darwin
gcc/flags.h
gcc/toplev.c

index 5f4fca86a07fba36b67ef643b6c25bf93af7ca7e..708f198e923ba5ea29063133b1f716e1e8a97f7e 100644 (file)
@@ -1,3 +1,12 @@
+2006-06-28  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-common.c (flag_next_runtime): Move...
+       * toplev.c (flag_next_runtime): ... here.
+       * c-common.h (flag_next_runtime): Move...
+       * flags.h (flag_next_runtime): ... here.
+       * config/darwin-c.c: Include flags.h.
+       * config/t-darwin (darwin-c.o): Depend on flags.h.
+
 2005-06-29  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * config/sh/linux-unwind.h (shmedia_fallback_frame_state):
index bcf28090554409bedb079039c3f3ec5659bd8593..2b13ad912ecd2a9c18dd61ec2f098fb1d1c4e321 100644 (file)
@@ -334,14 +334,6 @@ int warn_main;
 
 int flag_gen_declaration;
 
-/* Generate code for GNU or NeXT runtime environment.  */
-
-#ifdef NEXT_OBJC_RUNTIME
-int flag_next_runtime = 1;
-#else
-int flag_next_runtime = 0;
-#endif
-
 /* Tells the compiler that this is a special run.  Do not perform any
    compiling, instead we are to test some platform dependent features
    and output a C header file with appropriate definitions.  */
index d3839b73d88b4262f27072e46a396ce7e27d2200..fabb67e6b2025268c79a4f03f12a6eb2acf6d441 100644 (file)
@@ -449,10 +449,6 @@ extern int warn_main;
 
 extern int flag_gen_declaration;
 
-/* Generate code for GNU or NeXT runtime environment.  */
-
-extern int flag_next_runtime;
-
 /* Tells the compiler that this is a special run.  Do not perform any
    compiling, instead we are to test some platform dependent features
    and output a C header file with appropriate definitions.  */
index 73d60f42fb99dfcb3af97df1b1ad7faaf685de35..9102ea2e67da606fa71b62e3aa2bbedd99c3ff2e 100644 (file)
@@ -29,6 +29,7 @@ Boston, MA 02110-1301, USA.  */
 #include "c-tree.h"
 #include "c-incpath.h"
 #include "toplev.h"
+#include "flags.h"
 #include "tm_p.h"
 #include "cppdefault.h"
 #include "prefix.h"
index fc8735bd9c0668e0a4cfe7c3d073fd25c725d3ba..df1b6320e5d270d9b1eb802ccdb9a29ead2771b4 100644 (file)
@@ -6,7 +6,7 @@ darwin.o: $(srcdir)/config/darwin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h     \
 
 darwin-c.o: $(srcdir)/config/darwin-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
   $(TM_H) $(CPPLIB_H) tree.h c-pragma.h $(C_TREE_H) toplev.h $(TM_P_H) \
-  c-incpath.h
+  c-incpath.h flags.h
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/darwin-c.c $(PREPROCESSOR_DEFINES)
 
 gt-darwin.h : s-gtype ; @true
index e8da68456f6015f4734717d7d6f4078bfc57b7b9..84d5b39b615331d836bcddbfb9d625e2bf1feab3 100644 (file)
@@ -181,6 +181,10 @@ extern int flag_shlib;
 
 extern int flag_debug_asm;
 
+/* Generate code for GNU or NeXT Objective-C runtime environment.  */
+
+extern int flag_next_runtime;
+
 extern int flag_dump_rtl_in_asm;
 
 /* If one, renumber instruction UIDs to reduce the number of
index 6107c04818200c8a6c3161c767a1237a97bfba41..17f75fe00f7baf6d54039a1629e59b02a219addd 100644 (file)
@@ -289,6 +289,14 @@ const char *aux_info_file_name;
 
 int flag_shlib;
 
+/* Generate code for GNU or NeXT Objective-C runtime environment.  */
+
+#ifdef NEXT_OBJC_RUNTIME
+int flag_next_runtime = 1;
+#else
+int flag_next_runtime = 0;
+#endif
+
 /* Set to the default thread-local storage (tls) model to use.  */
 
 enum tls_model flag_tls_default = TLS_MODEL_GLOBAL_DYNAMIC;