aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2001-09-22 09:59:01 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2001-09-22 09:59:01 -0400
commitaaed02065e41d8385592ce84f9585c88eac7d2f5 (patch)
treeefda336678d3030acf1949bdee33cb6a1945121a /gcc
parent283c8d8debec6dd35d32e44690aeb433d5325b3e (diff)
downloadgcc-aaed02065e41d8385592ce84f9585c88eac7d2f5.zip
gcc-aaed02065e41d8385592ce84f9585c88eac7d2f5.tar.gz
gcc-aaed02065e41d8385592ce84f9585c88eac7d2f5.tar.bz2
attribs.c: New file, from c-common.c.
* attribs.c: New file, from c-common.c. (attribute_tables): Now four elements. (format_attribute_table, lang_attribute_common): New variables. (init_attributes): Reflect above changes. (handle_mode_attribute): Delete check for wider than uintmax. * c-common.c: Delete parts moved to attribs.c. (enum attrs): Deleted; unused. (c_format_attribute_table): New variable. (c_common_lang_init): Initialize format_attribute_table with it. * c-common.h (decl_attributes): Remove decl. * tree.h (decl_attribute): Move it to here. * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o. (attribs.o): New rule. From-SVN: r45753
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ddde078..6daa0ab 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -722,7 +722,7 @@ C_TARGET_OBJS=@c_target_objs@
CXX_TARGET_OBJS=@cxx_target_objs@
# Language-specific object files for C and Objective C.
-C_AND_OBJC_OBJS = c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
+C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-dump.o \
libcpp.a $(C_TARGET_OBJS)
@@ -1250,6 +1250,12 @@ c-common.o : c-common.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(OBSTACK_H) \
$(C_COMMON_H) flags.h toplev.h output.h c-pragma.h $(RTL_H) $(GGC_H) \
$(EXPR_H) $(TM_P_H) builtin-types.def $(TARGET_H)
+# A file used by all variants of C and some other languages.
+
+attribs.o : attribs.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(OBSTACK_H) flags.h \
+ toplev.h output.h c-pragma.h $(RTL_H) $(GGC_H) $(EXPR_H) $(TM_P_H) \
+ builtin-types.def $(TARGET_H)
+
c-format.o : c-format.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
$(C_COMMON_H) flags.h toplev.h intl.h diagnostic.h