comparison gcc/config/rs6000/freebsd.h @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Definitions for PowerPC running FreeBSD using the ELF format 1 /* Definitions for PowerPC running FreeBSD using the ELF format
2 Copyright (C) 2001-2018 Free Software Foundation, Inc. 2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
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
15 License for more details. 15 License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see 18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */ 19 <http://www.gnu.org/licenses/>. */
20
21 /* Undef gnu-user.h macros we don't want. */
22 #undef CPLUSPLUS_CPP_SPEC
23 #undef LINK_GCC_C_SEQUENCE_SPEC
20 24
21 /* Override the defaults, which exist to force the proper definition. */ 25 /* Override the defaults, which exist to force the proper definition. */
22 26
23 #undef CPP_OS_DEFAULT_SPEC 27 #undef CPP_OS_DEFAULT_SPEC
24 #define CPP_OS_DEFAULT_SPEC "%(cpp_os_freebsd)" 28 #define CPP_OS_DEFAULT_SPEC "%(cpp_os_freebsd)"
57 #undef WCHAR_TYPE 61 #undef WCHAR_TYPE
58 62
59 #undef WCHAR_TYPE_SIZE 63 #undef WCHAR_TYPE_SIZE
60 #define WCHAR_TYPE_SIZE 32 64 #define WCHAR_TYPE_SIZE 32
61 65
62 /* Override rs6000.h definition. */
63 #undef ASM_APP_ON
64 #define ASM_APP_ON "#APP\n"
65
66 /* Override rs6000.h definition. */
67 #undef ASM_APP_OFF
68 #define ASM_APP_OFF "#NO_APP\n"
69
70 /* We don't need to generate entries in .fixup, except when 66 /* We don't need to generate entries in .fixup, except when
71 -mrelocatable or -mrelocatable-lib is given. */ 67 -mrelocatable or -mrelocatable-lib is given. */
72 #undef RELOCATABLE_NEEDS_FIXUP 68 #undef RELOCATABLE_NEEDS_FIXUP
73 #define RELOCATABLE_NEEDS_FIXUP \ 69 #define RELOCATABLE_NEEDS_FIXUP \
74 (rs6000_isa_flags & rs6000_isa_flags_explicit & OPTION_MASK_RELOCATABLE) 70 (rs6000_isa_flags & rs6000_isa_flags_explicit & OPTION_MASK_RELOCATABLE)