diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-06-29 16:12:35 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-06-29 16:12:35 +0000 |
commit | d4a10d0a628008949adf9e2baee507f8a0985b3f (patch) | |
tree | f78869254e81452ccc6da3411b5dc9dd8cc02315 /gcc/objc | |
parent | cc193fba85953801d140e87c636a208767b75dfa (diff) | |
download | gcc-d4a10d0a628008949adf9e2baee507f8a0985b3f.zip gcc-d4a10d0a628008949adf9e2baee507f8a0985b3f.tar.gz gcc-d4a10d0a628008949adf9e2baee507f8a0985b3f.tar.bz2 |
configure.ac: Skip C if explicitly selected.
toplevel/
* configure.ac: Skip C if explicitly selected.
* configure: Regenerate.
gcc/
* configure.ac: Remove special gtfiles case for C.
* configure: Regenerate.
* Makefile.in: Remove C front-end hooks and build hooks that
will be picked up from c/Make-lang.in now.
Add tree-mudflap to C_COMMON_OBJS.
* gengtype.c (files_rules): Adjust gt-files for c/c-decl.c.
* config/vms/vms.c: Look for c-tree.h in c/.
* doc/gty.texi: Remove reference to c-config-lang.in.
* doc/sourcebuild.texi: Document the c/ subdirectory.
c/
* Make-lang.in: New file, rules migrated from gcc/Makefile.in
and add language Makefile hooks.
* config-lang.in: New file.
* c-config-lang.in: Moved from gcc/config-lang.in to here, and
add the required "normal" config-lang.in rules.
* c-lang.h: Moved from gcc/ to here.
* c-tree.h: Likewise.
* c-objc-common.c: Likewise.
* c-objc-common.h: Likewise.
* c-typeck.c: Likewise.
* c-convert.c: Likewise.
* c-lang.c: Likewise.
* c-aux-info.c: Likewise.
* c-errors.c: Likewise.
* gccspec.c: Likewise.
* c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h.
* c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h.
c-family/
* cppspec.c: Moved from gcc/ to here.
objc/
* Make-ang.in: Adjust for move of C front-end files.
* config-lang.in: Likewise.
* objc-encoding.c: Look for cp-tree.h in cp/, and for c-tree.h
and c-lang.h in c/.
* objc-runtime-shared-support.c: Likewise.
* objc-next-runtime-abi-01.c: Likewise.
* objc-next-runtime-abi-02.c: Likewise.
* objc-gnu-runtime-abi-01.c: Likewise.
* objc-act.c: Likewise.
* objc-lang.c: Likewise.
cp/
* Make-lang.in: Remove tree-mudflap.o from CXX_AND_OBJCXX_OBJS.
From-SVN: r189080
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/objc/Make-lang.in | 4 | ||||
-rw-r--r-- | gcc/objc/config-lang.in | 2 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 6 | ||||
-rw-r--r-- | gcc/objc/objc-encoding.c | 6 | ||||
-rw-r--r-- | gcc/objc/objc-gnu-runtime-abi-01.c | 6 | ||||
-rw-r--r-- | gcc/objc/objc-lang.c | 6 | ||||
-rw-r--r-- | gcc/objc/objc-next-runtime-abi-01.c | 6 | ||||
-rw-r--r-- | gcc/objc/objc-next-runtime-abi-02.c | 6 | ||||
-rw-r--r-- | gcc/objc/objc-runtime-shared-support.c | 6 |
10 files changed, 37 insertions, 24 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 5ca44c3..e8ef7bb 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,16 @@ +2012-06-29 Steven Bosscher <steven@gcc.gnu.org> + + * Make-ang.in: Adjust for move of C front-end files. + * config-lang.in: Likewise. + * objc-encoding.c: Look for cp-tree.h in cp/, and for c-tree.h + and c-lang.h in c/. + * objc-runtime-shared-support.c: Likewise. + * objc-next-runtime-abi-01.c: Likewise. + * objc-next-runtime-abi-02.c: Likewise. + * objc-gnu-runtime-abi-01.c: Likewise. + * objc-act.c: Likewise. + * objc-lang.c: Likewise. + 2012-06-19 Steven Bosscher <steven@gcc.gnu.org> * objc-next-runtime-abi-01.c: Do not include tm.h and output.h. diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in index 94a462b..05ddec6 100644 --- a/gcc/objc/Make-lang.in +++ b/gcc/objc/Make-lang.in @@ -44,7 +44,7 @@ objc: cc1obj$(exeext) .PHONY: objc START_HDRS = $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_TREE_H) \ - c-lang.h langhooks.h c-family/c-objc.h objc/objc-act.h + c/c-lang.h langhooks.h c-family/c-objc.h objc/objc-act.h # Use maximal warnings for this front end. objc-warn = $(STRICT_WARN) @@ -83,7 +83,7 @@ objc/objc-lang.o : objc/objc-lang.c \ $(START_HDRS) \ $(GGC_H) \ $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-objc.h \ - c-objc-common.h + c/c-objc-common.h objc/objc-runtime-shared-support.o : objc/objc-runtime-shared-support.c \ gt-objc-objc-runtime-shared-support.h \ diff --git a/gcc/objc/config-lang.in b/gcc/objc/config-lang.in index 48f8582..9a4ede6 100644 --- a/gcc/objc/config-lang.in +++ b/gcc/objc/config-lang.in @@ -36,4 +36,4 @@ lang_requires="c" # Order is important. If you change this list, make sure you test # building without C++ as well; that is, remove the gcc/cp directory, # and build with --enable-languages=c,objc. -gtfiles="\$(srcdir)/objc/objc-map.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/objc/objc-act.h \$(srcdir)/objc/objc-act.c \$(srcdir)/objc/objc-runtime-shared-support.c \$(srcdir)/objc/objc-gnu-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-02.c \$(srcdir)/c-parser.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-lang.h \$(srcdir)/c-objc-common.c \$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-cppbuiltin.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.c" +gtfiles="\$(srcdir)/objc/objc-map.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/objc/objc-act.h \$(srcdir)/objc/objc-act.c \$(srcdir)/objc/objc-runtime-shared-support.c \$(srcdir)/objc/objc-gnu-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-02.c \$(srcdir)/c/c-parser.c \$(srcdir)/c/c-tree.h \$(srcdir)/c/c-decl.c \$(srcdir)/c/c-lang.h \$(srcdir)/c/c-objc-common.c \$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-cppbuiltin.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.c" diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 14e1d5f..5c924bf 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -27,10 +27,10 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #ifdef OBJCPLUS -#include "cp-tree.h" +#include "cp/cp-tree.h" #else -#include "c-tree.h" -#include "c-lang.h" +#include "c/c-tree.h" +#include "c/c-lang.h" #endif #include "c-family/c-common.h" diff --git a/gcc/objc/objc-encoding.c b/gcc/objc/objc-encoding.c index 10171fd..8d4a9c7 100644 --- a/gcc/objc/objc-encoding.c +++ b/gcc/objc/objc-encoding.c @@ -25,10 +25,10 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #ifdef OBJCPLUS -#include "cp-tree.h" +#include "cp/cp-tree.h" #else -#include "c-tree.h" -#include "c-lang.h" +#include "c/c-tree.h" +#include "c/c-lang.h" #endif #include "c-family/c-common.h" diff --git a/gcc/objc/objc-gnu-runtime-abi-01.c b/gcc/objc/objc-gnu-runtime-abi-01.c index 63a8c5b..6bdffac 100644 --- a/gcc/objc/objc-gnu-runtime-abi-01.c +++ b/gcc/objc/objc-gnu-runtime-abi-01.c @@ -24,10 +24,10 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #ifdef OBJCPLUS -#include "cp-tree.h" +#include "cp/cp-tree.h" #else -#include "c-tree.h" -#include "c-lang.h" +#include "c/c-tree.h" +#include "c/c-lang.h" #endif #include "langhooks.h" diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c index b1bbb9e..9aa9bb3 100644 --- a/gcc/objc/objc-lang.c +++ b/gcc/objc/objc-lang.c @@ -25,15 +25,15 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" -#include "c-tree.h" +#include "c/c-tree.h" #include "c-family/c-common.h" #include "c-family/c-objc.h" #include "ggc.h" #include "objc-act.h" #include "langhooks.h" #include "langhooks-def.h" -#include "c-objc-common.h" -#include "c-lang.h" +#include "c/c-objc-common.h" +#include "c/c-lang.h" enum c_language_kind c_language = clk_objc; diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c index b60bd46..cf24591 100644 --- a/gcc/objc/objc-next-runtime-abi-01.c +++ b/gcc/objc/objc-next-runtime-abi-01.c @@ -29,10 +29,10 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #ifdef OBJCPLUS -#include "cp-tree.h" +#include "cp/cp-tree.h" #else -#include "c-tree.h" -#include "c-lang.h" +#include "c/c-tree.h" +#include "c/c-lang.h" #endif #include "langhooks.h" #include "c-family/c-objc.h" diff --git a/gcc/objc/objc-next-runtime-abi-02.c b/gcc/objc/objc-next-runtime-abi-02.c index ee6a0a3..4f47a57 100644 --- a/gcc/objc/objc-next-runtime-abi-02.c +++ b/gcc/objc/objc-next-runtime-abi-02.c @@ -32,10 +32,10 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #ifdef OBJCPLUS -#include "cp-tree.h" +#include "cp/cp-tree.h" #else -#include "c-tree.h" -#include "c-lang.h" +#include "c/c-tree.h" +#include "c/c-lang.h" #endif #include "langhooks.h" #include "c-family/c-objc.h" diff --git a/gcc/objc/objc-runtime-shared-support.c b/gcc/objc/objc-runtime-shared-support.c index 7d478d9..0b6f937 100644 --- a/gcc/objc/objc-runtime-shared-support.c +++ b/gcc/objc/objc-runtime-shared-support.c @@ -25,10 +25,10 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #ifdef OBJCPLUS -#include "cp-tree.h" +#include "cp/cp-tree.h" #else -#include "c-tree.h" -#include "c-lang.h" +#include "c/c-tree.h" +#include "c/c-lang.h" #endif #include "langhooks.h" #include "c-family/c-objc.h" |