Commit 31b21739 by Rainer Orth Committed by Jakub Jelinek

sparc.c (sparc_elf_asm_named_section): Test for HAVE_GNU_AS value.

	* config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
	HAVE_GNU_AS value.
	* config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
	Test for HAVE_GNU_AS value.

From-SVN: r156272
parent 9f8a264b
2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
HAVE_GNU_AS value.
* config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
Test for HAVE_GNU_AS value.
2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint.
* config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE,
INT64_TYPE): Define.
......@@ -62,9 +69,9 @@
2010-01-24 David S. Miller <davem@davemloft.net>
* gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
* config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
define if not using GAS.
* gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
* config/sparc/sparc.c (sparc_elf_asm_named_section):
Likewise. Delete SECTION_MERGE code, which is only applicable
when using GAS.
......@@ -276,7 +283,7 @@
(reassociate_to_the_same_stmt): Handle vector registers.
* tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations
(e.g. conversions).
* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add
* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add
wide_prolog_niters argument, emit widening instructions.
(vect_do_peeling_for_alignment): Adjust caller, use widened
variant of the iteration cound.
......@@ -456,7 +463,7 @@
(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.
(TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was
(TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was
misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.
(TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
......
......@@ -368,7 +368,7 @@ static int save_or_restore_regs (int, int, rtx, int, int);
static void emit_save_or_restore_regs (int);
static void sparc_asm_function_prologue (FILE *, HOST_WIDE_INT);
static void sparc_asm_function_epilogue (FILE *, HOST_WIDE_INT);
#if defined (OBJECT_FORMAT_ELF) && !defined (HAVE_GNU_AS)
#if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS
static void sparc_elf_asm_named_section (const char *, unsigned int, tree);
#endif
......@@ -7986,7 +7986,7 @@ sparc_profile_hook (int labelno)
}
}
#if defined (OBJECT_FORMAT_ELF) && !defined (HAVE_GNU_AS)
#if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS
static void
sparc_elf_asm_named_section (const char *name, unsigned int flags,
tree decl)
......
......@@ -127,7 +127,7 @@ do { ASM_OUTPUT_ALIGN ((FILE), Pmode == SImode ? 2 : 3); \
#undef DTORS_SECTION_ASM_OP
#define DTORS_SECTION_ASM_OP "\t.section\t\".dtors\",#alloc,#write"
#ifndef HAVE_GNU_AS
#if !HAVE_GNU_AS
/* Switch into a generic section. */
#undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION sparc_elf_asm_named_section
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment