Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/gas.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 /* Definitions for Intel 386 using GAS. | 1 /* Definitions for Intel 386 using GAS. |
2 Copyright (C) 1988-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1988-2018 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
38 | 38 |
39 /* these come from i386/bsd.h, but are specific to sequent */ | 39 /* these come from i386/bsd.h, but are specific to sequent */ |
40 #undef DBX_NO_XREFS | 40 #undef DBX_NO_XREFS |
41 #undef DBX_CONTIN_LENGTH | 41 #undef DBX_CONTIN_LENGTH |
42 | 42 |
43 /* Ask for COFF symbols. */ | |
44 | |
45 #define SDB_DEBUGGING_INFO 1 | |
46 | |
47 /* Output #ident as a .ident. */ | 43 /* Output #ident as a .ident. */ |
48 | 44 |
49 #undef TARGET_ASM_OUTPUT_IDENT | 45 #undef TARGET_ASM_OUTPUT_IDENT |
50 #define TARGET_ASM_OUTPUT_IDENT default_asm_output_ident_directive | 46 #define TARGET_ASM_OUTPUT_IDENT default_asm_output_ident_directive |
51 | 47 |
59 file formats, we use one of them. */ | 55 file formats, we use one of them. */ |
60 | 56 |
61 #ifdef HAVE_GAS_BALIGN_AND_P2ALIGN | 57 #ifdef HAVE_GAS_BALIGN_AND_P2ALIGN |
62 #undef ASM_OUTPUT_ALIGN | 58 #undef ASM_OUTPUT_ALIGN |
63 #define ASM_OUTPUT_ALIGN(FILE,LOG) \ | 59 #define ASM_OUTPUT_ALIGN(FILE,LOG) \ |
64 if ((LOG)!=0) fprintf ((FILE), "\t.balign %d\n", 1<<(LOG)) | 60 if ((LOG)!=0) fprintf ((FILE), "\t.balign %d\n", 1 << (LOG)) |
65 #endif | 61 #endif |
66 | 62 |
67 /* A C statement to output to the stdio stream FILE an assembler | 63 /* A C statement to output to the stdio stream FILE an assembler |
68 command to advance the location counter to a multiple of 1<<LOG | 64 command to advance the location counter to a multiple of 1<<LOG |
69 bytes if it is within MAX_SKIP bytes. | 65 bytes if it is within MAX_SKIP bytes. |
70 | 66 |
71 This is used to align code labels according to Intel recommendations. */ | 67 This is used to align code labels according to Intel recommendations. */ |
72 | 68 |
73 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN | 69 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN |
74 # define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ | 70 # define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ |
75 if ((LOG) != 0) {\ | 71 if ((LOG) != 0) { \ |
76 if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ | 72 if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1 << (LOG)) - 1) \ |
77 else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ | 73 fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ |
78 } | 74 else \ |
75 fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ | |
76 } | |
79 #endif | 77 #endif |
80 | 78 |
81 /* A C statement or statements which output an assembler instruction | 79 /* A C statement or statements which output an assembler instruction |
82 opcode to the stdio stream STREAM. The macro-operand PTR is a | 80 opcode to the stdio stream STREAM. The macro-operand PTR is a |
83 variable of type `char *' which points to the opcode name in its | 81 variable of type `char *' which points to the opcode name in its |