From: Rainer Orth Date: Wed, 27 Jan 2010 08:06:04 +0000 (+0100) Subject: sparc.c (sparc_elf_asm_named_section): Test for HAVE_GNU_AS value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31b217392f2e8093163abab9693ddd05ee6369f4;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5ce27a509e..7c976bd7b04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2010-01-26 Rainer Orth + + * 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 * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. @@ -62,9 +69,9 @@ 2010-01-24 David S. Miller - * 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. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index d0a5d2bb8fd..42fbb9e9014 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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) diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h index fa0498508a2..d1fdb0e32ea 100644 --- a/gcc/config/sparc/sysv4.h +++ b/gcc/config/sparc/sysv4.h @@ -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