From aaed02065e41d8385592ce84f9585c88eac7d2f5 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 22 Sep 2001 09:59:01 -0400 Subject: [PATCH] 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 --- gcc/Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ddde078f723..6daa0ab012c 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 -- 2.30.2