(COMMON_ASM_OP) Define.
* config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED
(ix86_encode_section_info): Likewise.
(TARGET_ENCODE_SECTION_INFO): Conditionally define as
SUBTARGET_ENCODE_SECTION_INFO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102834
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-08-07 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
+ (COMMON_ASM_OP) Define.
+ * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED
+ (ix86_encode_section_info): Likewise.
+ (TARGET_ENCODE_SECTION_INFO): Conditionally define as
+ SUBTARGET_ENCODE_SECTION_INFO.
+
2005-08-06 Richard Henderson <rth@redhat.com>
PR 21894
section and we need to set DECL_SECTION_NAME so we do that here.
Note that we can be called twice on the same decl. */
-#undef TARGET_ENCODE_SECTION_INFO
-#define TARGET_ENCODE_SECTION_INFO i386_pe_encode_section_info
+#undef SUBTARGET_ENCODE_SECTION_INFO
+#define SUBTARGET_ENCODE_SECTION_INFO i386_pe_encode_section_info
#undef TARGET_STRIP_NAME_ENCODING
#define TARGET_STRIP_NAME_ENCODING i386_pe_strip_name_encoding_full
\f
#undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF i386_pe_output_labelref
+#undef COMMON_ASM_OP
+#define COMMON_ASM_OP "\t.comm\t"
+
/* Output a common block. */
#undef ASM_OUTPUT_COMMON
#define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \
static REAL_VALUE_TYPE ext_80387_constants_table [5];
static bool ext_80387_constants_init = 0;
static void init_ext_80387_constants (void);
-static bool ix86_in_large_data_p (tree);
-static void ix86_encode_section_info (tree, rtx, int);
+static bool ix86_in_large_data_p (tree) ATTRIBUTE_UNUSED;
+static void ix86_encode_section_info (tree, rtx, int) ATTRIBUTE_UNUSED;
static void x86_64_elf_unique_section (tree decl, int reloc) ATTRIBUTE_UNUSED;
static void x86_64_elf_select_section (tree decl, int reloc,
unsigned HOST_WIDE_INT align)
#define TARGET_ASM_FUNCTION_EPILOGUE ix86_output_function_epilogue
#undef TARGET_ENCODE_SECTION_INFO
+#ifndef SUBTARGET_ENCODE_SECTION_INFO
#define TARGET_ENCODE_SECTION_INFO ix86_encode_section_info
+#else
+#define TARGET_ENCODE_SECTION_INFO SUBTARGET_ENCODE_SECTION_INFO
+#endif
#undef TARGET_ASM_OPEN_PAREN
#define TARGET_ASM_OPEN_PAREN ""