diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-27 08:06:04 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-27 08:06:04 +0000 |
commit | b17559bcfb9ad181d5c373b76d575cffeefd9bc0 (patch) | |
tree | a34e6be6ba2957fedc7539e09c20de94d1f42f83 | |
parent | 3c15f854642c85e47e40a8553d131497ae9a5631 (diff) | |
download | gcc-b17559bcfb9ad181d5c373b76d575cffeefd9bc0.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156272 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 15 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sysv4.h | 2 |
3 files changed, 14 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5ce27a509e..7c976bd7b04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 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. 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 |