Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/netbsd-elf.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 of target machine for GCC, | 1 /* Definitions of target machine for GCC, |
2 for i386/ELF NetBSD systems. | 2 for i386/ELF NetBSD systems. |
3 Copyright (C) 2001-2017 Free Software Foundation, Inc. | 3 Copyright (C) 2001-2018 Free Software Foundation, Inc. |
4 Contributed by matthew green <mrg@eterna.com.au> | 4 Contributed by matthew green <mrg@eterna.com.au> |
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 |
102 This is used to align code labels according to Intel recommendations. */ | 102 This is used to align code labels according to Intel recommendations. */ |
103 | 103 |
104 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN | 104 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN |
105 #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE, LOG, MAX_SKIP) \ | 105 #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE, LOG, MAX_SKIP) \ |
106 if ((LOG) != 0) { \ | 106 if ((LOG) != 0) { \ |
107 if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ | 107 if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1 << (LOG)) - 1) \ |
108 else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ | 108 fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ |
109 else \ | |
110 fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ | |
109 } | 111 } |
110 #endif | 112 #endif |
111 | 113 |
112 /* We always use gas here, so we don't worry about ECOFF assembler | 114 /* We always use gas here, so we don't worry about ECOFF assembler |
113 problems. */ | 115 problems. */ |