Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/elfos.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* elfos.h -- operating system specific defines to be used when | 1 /* elfos.h -- operating system specific defines to be used when |
2 targeting GCC for some generic ELF system | 2 targeting GCC for some generic ELF system |
3 Copyright (C) 1991-2017 Free Software Foundation, Inc. | 3 Copyright (C) 1991-2018 Free Software Foundation, Inc. |
4 Based on svr4.h contributed by Ron Guilmette (rfg@netcom.com). | 4 Based on svr4.h contributed by Ron Guilmette (rfg@netcom.com). |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify | 8 GCC is free software; you can redistribute it and/or modify |
133 #undef ALIGN_ASM_OP | 133 #undef ALIGN_ASM_OP |
134 #define ALIGN_ASM_OP "\t.align\t" | 134 #define ALIGN_ASM_OP "\t.align\t" |
135 | 135 |
136 #ifndef ASM_OUTPUT_BEFORE_CASE_LABEL | 136 #ifndef ASM_OUTPUT_BEFORE_CASE_LABEL |
137 #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \ | 137 #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \ |
138 ASM_OUTPUT_ALIGN ((FILE), 2); | 138 ASM_OUTPUT_ALIGN ((FILE), 2) |
139 #endif | 139 #endif |
140 | 140 |
141 #undef ASM_OUTPUT_CASE_LABEL | 141 #undef ASM_OUTPUT_CASE_LABEL |
142 #define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \ | 142 #define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \ |
143 do \ | 143 do \ |
144 { \ | 144 { \ |
145 ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE) \ | 145 ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE); \ |
146 (*targetm.asm_out.internal_label) (FILE, PREFIX, NUM); \ | 146 (*targetm.asm_out.internal_label) (FILE, PREFIX, NUM); \ |
147 } \ | 147 } \ |
148 while (0) | 148 while (0) |
149 | 149 |
150 /* The standard SVR4 assembler seems to require that certain builtin | 150 /* The standard SVR4 assembler seems to require that certain builtin |
151 library routines (e.g. .udiv) be explicitly declared as .globl | 151 library routines (e.g. .udiv) be explicitly declared as .globl |
442 character sequence which end with NUL (and which are shorter than | 442 character sequence which end with NUL (and which are shorter than |
443 STRING_LIMIT) we output those using ASM_OUTPUT_LIMITED_STRING. */ | 443 STRING_LIMIT) we output those using ASM_OUTPUT_LIMITED_STRING. */ |
444 | 444 |
445 #undef ASM_OUTPUT_ASCII | 445 #undef ASM_OUTPUT_ASCII |
446 #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ | 446 #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ |
447 default_elf_asm_output_ascii ((FILE), (STR), (LENGTH)); | 447 default_elf_asm_output_ascii ((FILE), (STR), (LENGTH)) |
448 | 448 |
449 /* Allow the use of the -frecord-gcc-switches switch via the | 449 /* Allow the use of the -frecord-gcc-switches switch via the |
450 elf_record_gcc_switches function defined in varasm.c. */ | 450 elf_record_gcc_switches function defined in varasm.c. */ |
451 #undef TARGET_ASM_RECORD_GCC_SWITCHES | 451 #undef TARGET_ASM_RECORD_GCC_SWITCHES |
452 #define TARGET_ASM_RECORD_GCC_SWITCHES elf_record_gcc_switches | 452 #define TARGET_ASM_RECORD_GCC_SWITCHES elf_record_gcc_switches |