Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/sparc/sysv4.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
1 /* Target definitions for GNU compiler for SPARC running System V.4 | 1 /* Target definitions for GNU compiler for SPARC running System V.4 |
2 Copyright (C) 1991, 1992, 1995, 1996, 1997, 1998, 2000, 2002, 2007, 2009 | 2 Copyright (C) 1991, 1992, 1995, 1996, 1997, 1998, 2000, 2002, 2007, 2009, |
3 2010 | |
3 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
4 Contributed by Ron Guilmette (rfg@monkeys.com). | 5 Contributed by Ron Guilmette (rfg@monkeys.com). |
5 | 6 |
6 This file is part of GCC. | 7 This file is part of GCC. |
7 | 8 |
39 | 40 |
40 #undef INIT_SECTION_ASM_OP | 41 #undef INIT_SECTION_ASM_OP |
41 #undef FINI_SECTION_ASM_OP | 42 #undef FINI_SECTION_ASM_OP |
42 #undef READONLY_DATA_SECTION_ASM_OP | 43 #undef READONLY_DATA_SECTION_ASM_OP |
43 #undef TYPE_OPERAND_FMT | 44 #undef TYPE_OPERAND_FMT |
44 #undef PUSHSECTION_FORMAT | |
45 #undef STRING_ASM_OP | 45 #undef STRING_ASM_OP |
46 #undef COMMON_ASM_OP | 46 #undef COMMON_ASM_OP |
47 #undef SKIP_ASM_OP | 47 #undef SKIP_ASM_OP |
48 #undef SET_ASM_OP /* Has no equivalent. See ASM_OUTPUT_DEF below. */ | 48 #undef SET_ASM_OP /* Has no equivalent. See ASM_OUTPUT_DEF below. */ |
49 | 49 |
60 assembler. */ | 60 assembler. */ |
61 | 61 |
62 #define STRING_ASM_OP "\t.asciz\t" | 62 #define STRING_ASM_OP "\t.asciz\t" |
63 #define COMMON_ASM_OP "\t.common\t" | 63 #define COMMON_ASM_OP "\t.common\t" |
64 #define SKIP_ASM_OP "\t.skip\t" | 64 #define SKIP_ASM_OP "\t.skip\t" |
65 #define PUSHSECTION_ASM_OP "\t.pushsection\t" | |
66 #define POPSECTION_ASM_OP "\t.popsection" | |
67 | 65 |
68 /* This is the format used to print the second operand of a .type pseudo-op | 66 /* This is the format used to print the second operand of a .type pseudo-op |
69 for the SPARC/svr4 assembler. */ | 67 for the SPARC/svr4 assembler. */ |
70 | 68 |
71 #define TYPE_OPERAND_FMT "#%s" | 69 #define TYPE_OPERAND_FMT "#%s" |
72 | |
73 /* This is the format used to print a .pushsection pseudo-op (and its operand) | |
74 for the SPARC/svr4 assembler. */ | |
75 | |
76 #define PUSHSECTION_FORMAT "%s\"%s\"\n" | |
77 | 70 |
78 #undef ASM_OUTPUT_CASE_LABEL | 71 #undef ASM_OUTPUT_CASE_LABEL |
79 #define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \ | 72 #define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \ |
80 do { ASM_OUTPUT_ALIGN ((FILE), Pmode == SImode ? 2 : 3); \ | 73 do { ASM_OUTPUT_ALIGN ((FILE), Pmode == SImode ? 2 : 3); \ |
81 (*targetm.asm_out.internal_label) ((FILE), PREFIX, NUM); \ | 74 (*targetm.asm_out.internal_label) ((FILE), PREFIX, NUM); \ |
124 #undef CTORS_SECTION_ASM_OP | 117 #undef CTORS_SECTION_ASM_OP |
125 #define CTORS_SECTION_ASM_OP "\t.section\t\".ctors\",#alloc,#write" | 118 #define CTORS_SECTION_ASM_OP "\t.section\t\".ctors\",#alloc,#write" |
126 #undef DTORS_SECTION_ASM_OP | 119 #undef DTORS_SECTION_ASM_OP |
127 #define DTORS_SECTION_ASM_OP "\t.section\t\".dtors\",#alloc,#write" | 120 #define DTORS_SECTION_ASM_OP "\t.section\t\".dtors\",#alloc,#write" |
128 | 121 |
129 /* Switch into a generic section. */ | |
130 #undef TARGET_ASM_NAMED_SECTION | |
131 #define TARGET_ASM_NAMED_SECTION sparc_elf_asm_named_section | |
132 | |
133 #undef ASM_OUTPUT_ALIGNED_BSS | 122 #undef ASM_OUTPUT_ALIGNED_BSS |
134 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ | 123 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ |
135 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) | 124 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) |
136 | 125 |
137 /* Override the name of the mcount profiling function. */ | 126 /* Override the name of the mcount profiling function. */ |