Mercurial > hg > CbC > CbC_gcc
diff gcc/config/sparc/sol2.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/config/sparc/sol2.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/sparc/sol2.h Tue Mar 22 17:18:12 2011 +0900 @@ -177,15 +177,22 @@ } \ while (0) +/* This is how to output an assembler line that says to advance + the location counter to a multiple of 2**LOG bytes using the + NOP instruction as padding. */ +#define ASM_OUTPUT_ALIGN_WITH_NOP(FILE,LOG) \ + if ((LOG) != 0) \ + fprintf (FILE, "\t.align %d,0x1000000\n", (1<<(LOG))) + /* Use Solaris ELF section syntax. */ #undef TARGET_ASM_NAMED_SECTION #define TARGET_ASM_NAMED_SECTION sparc_solaris_elf_asm_named_section -/* Solaris/SPARC as uses a non-standard .section/.pushsection syntax. - While gas supports it, too, we prefer the standard variant. */ -#ifndef USE_GAS +/* And SPARC non-standard pushsection syntax. */ #undef PUSHSECTION_FORMAT -#define PUSHSECTION_FORMAT "\t.pushsection\t\"%s\"\n" -#endif +#define PUSHSECTION_FORMAT "\t.pushsection\t\"%s\"\n" + +/* Static stack checking is supported by means of probes. */ +#define STACK_CHECK_STATIC_BUILTIN 1 #define MD_UNWIND_SUPPORT "config/sparc/sol2-unwind.h"