Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/dragonfly.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 running DragonFly with ELF format | 1 /* Definitions for Intel 386 running DragonFly with ELF format |
2 Copyright (C) 2014-2017 Free Software Foundation, Inc. | 2 Copyright (C) 2014-2018 Free Software Foundation, Inc. |
3 Contributed by John Marino <gnugcc@marino.st> | 3 Contributed by John Marino <gnugcc@marino.st> |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 7 GCC is free software; you can redistribute it and/or modify |
67 | 67 |
68 This is used to align code labels according to Intel recommendations. */ | 68 This is used to align code labels according to Intel recommendations. */ |
69 | 69 |
70 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN | 70 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN |
71 #undef ASM_OUTPUT_MAX_SKIP_ALIGN | 71 #undef ASM_OUTPUT_MAX_SKIP_ALIGN |
72 #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE, LOG, MAX_SKIP) \ | 72 #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE, LOG, MAX_SKIP) \ |
73 if ((LOG) != 0) { \ | 73 if ((LOG) != 0) { \ |
74 if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ | 74 if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1 << (LOG)) - 1) \ |
75 else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ | 75 fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ |
76 else \ | |
77 fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ | |
76 } | 78 } |
77 #endif | 79 #endif |
78 | 80 |
79 /* Don't default to pcc-struct-return, we want to retain compatibility with | 81 /* Don't default to pcc-struct-return, we want to retain compatibility with |
80 older gcc versions AND pcc-struct-return is nonreentrant. | 82 older gcc versions AND pcc-struct-return is nonreentrant. |