Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/rs6000/aix.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 GNU compiler, | 1 /* Definitions of target machine for GNU compiler, |
2 for IBM RS/6000 POWER running AIX. | 2 for IBM RS/6000 POWER running AIX. |
3 Copyright (C) 2000-2017 Free Software Foundation, Inc. | 3 Copyright (C) 2000-2018 Free Software Foundation, Inc. |
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 it | 7 GCC is free software; you can redistribute it and/or modify it |
8 under the terms of the GNU General Public License as published | 8 under the terms of the GNU General Public License as published |
20 | 20 |
21 /* Yes! We are AIX! */ | 21 /* Yes! We are AIX! */ |
22 #define DEFAULT_ABI ABI_AIX | 22 #define DEFAULT_ABI ABI_AIX |
23 #undef TARGET_AIX | 23 #undef TARGET_AIX |
24 #define TARGET_AIX 1 | 24 #define TARGET_AIX 1 |
25 | |
26 /* System headers are not C++-aware. */ | |
27 #define SYSTEM_IMPLICIT_EXTERN_C 1 | |
25 | 28 |
26 /* Linux64.h wants to redefine TARGET_AIX based on -m64, but it can't be used | 29 /* Linux64.h wants to redefine TARGET_AIX based on -m64, but it can't be used |
27 in the #if conditional in options-default.h, so provide another macro. */ | 30 in the #if conditional in options-default.h, so provide another macro. */ |
28 #undef TARGET_AIX_OS | 31 #undef TARGET_AIX_OS |
29 #define TARGET_AIX_OS 1 | 32 #define TARGET_AIX_OS 1 |
69 | 72 |
70 This value must be a multiple of STACK_BOUNDARY (hard coded in | 73 This value must be a multiple of STACK_BOUNDARY (hard coded in |
71 `emit-rtl.c'). */ | 74 `emit-rtl.c'). */ |
72 #undef STACK_DYNAMIC_OFFSET | 75 #undef STACK_DYNAMIC_OFFSET |
73 #define STACK_DYNAMIC_OFFSET(FUNDECL) \ | 76 #define STACK_DYNAMIC_OFFSET(FUNDECL) \ |
74 RS6000_ALIGN (crtl->outgoing_args_size + STACK_POINTER_OFFSET, 16) | 77 RS6000_ALIGN (crtl->outgoing_args_size.to_constant () \ |
78 + STACK_POINTER_OFFSET, 16) | |
75 | 79 |
76 #undef TARGET_IEEEQUAD | 80 #undef TARGET_IEEEQUAD |
77 #define TARGET_IEEEQUAD 0 | 81 #define TARGET_IEEEQUAD 0 |
78 | 82 |
79 #undef TARGET_IEEEQUAD_DEFAULT | 83 #undef TARGET_IEEEQUAD_DEFAULT |