sparc.c (sparc_elf_asm_named_section): Test for HAVE_GNU_AS value.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 27 Jan 2010 08:06:04 +0000 (09:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 27 Jan 2010 08:06:04 +0000 (09:06 +0100)
* 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

gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sysv4.h

index d5ce27a509eef16aa68c39ac2ebe5bc6d627cdbc..7c976bd7b0480a65816e06e699a5a2b8378595ed 100644 (file)
@@ -1,3 +1,10 @@
+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.
@@ -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.
 
        (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.
 
        (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.
index d0a5d2bb8fdf54f6f5eb353d18dfad8350d2a892..42fbb9e9014c74d05a3a100e001d2077ad35b9f9 100644 (file)
@@ -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)
     }
 }
 \f
-#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)
index fa0498508a28771e90a02d385b6cb29f37028a6c..d1fdb0e32ea4493e58d9fee03dddfcc5d6cb86fa 100644 (file)
@@ -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