diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-01-27 09:06:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-01-27 09:06:04 +0100 |
commit | 31b217392f2e8093163abab9693ddd05ee6369f4 (patch) | |
tree | a34e6be6ba2957fedc7539e09c20de94d1f42f83 /gcc | |
parent | 9f8a264bdd6f77bb5d8cae12ef7661bef98b7a0d (diff) | |
download | gcc-31b217392f2e8093163abab9693ddd05ee6369f4.zip gcc-31b217392f2e8093163abab9693ddd05ee6369f4.tar.gz gcc-31b217392f2e8093163abab9693ddd05ee6369f4.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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 d5ce27a..7c976bd 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 d0a5d2b..42fbb9e 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 fa04985..d1fdb0e 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 |