comparison gcc/defaults.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 various defaults for tm.h macros. 1 /* Definitions of various defaults for tm.h macros.
2 Copyright (C) 1992-2017 Free Software Foundation, Inc. 2 Copyright (C) 1992-2018 Free Software Foundation, Inc.
3 Contributed by Ron Guilmette (rfg@monkeys.com) 3 Contributed by Ron Guilmette (rfg@monkeys.com)
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 under 7 GCC is free software; you can redistribute it and/or modify it under
168 #ifndef ASM_OUTPUT_LABELREF 168 #ifndef ASM_OUTPUT_LABELREF
169 #define ASM_OUTPUT_LABELREF(FILE,NAME) \ 169 #define ASM_OUTPUT_LABELREF(FILE,NAME) \
170 do { \ 170 do { \
171 fputs (user_label_prefix, (FILE)); \ 171 fputs (user_label_prefix, (FILE)); \
172 fputs ((NAME), (FILE)); \ 172 fputs ((NAME), (FILE)); \
173 } while (0); 173 } while (0)
174 #endif 174 #endif
175 175
176 /* Allow target to print debug info labels specially. This is useful for 176 /* Allow target to print debug info labels specially. This is useful for
177 VLIW targets, since debug info labels should go into the middle of 177 VLIW targets, since debug info labels should go into the middle of
178 instruction bundles instead of breaking them. */ 178 instruction bundles instead of breaking them. */
892 892
893 #ifndef DEFAULT_GDB_EXTENSIONS 893 #ifndef DEFAULT_GDB_EXTENSIONS
894 #define DEFAULT_GDB_EXTENSIONS 1 894 #define DEFAULT_GDB_EXTENSIONS 1
895 #endif 895 #endif
896 896
897 #ifndef SDB_DEBUGGING_INFO
898 #define SDB_DEBUGGING_INFO 0
899 #endif
900
901 /* If more than one debugging type is supported, you must define 897 /* If more than one debugging type is supported, you must define
902 PREFERRED_DEBUGGING_TYPE to choose the default. */ 898 PREFERRED_DEBUGGING_TYPE to choose the default. */
903 899
904 #if 1 < (defined (DBX_DEBUGGING_INFO) + (SDB_DEBUGGING_INFO) \ 900 #if 1 < (defined (DBX_DEBUGGING_INFO) \
905 + defined (DWARF2_DEBUGGING_INFO) + defined (XCOFF_DEBUGGING_INFO) \ 901 + defined (DWARF2_DEBUGGING_INFO) + defined (XCOFF_DEBUGGING_INFO) \
906 + defined (VMS_DEBUGGING_INFO)) 902 + defined (VMS_DEBUGGING_INFO))
907 #ifndef PREFERRED_DEBUGGING_TYPE 903 #ifndef PREFERRED_DEBUGGING_TYPE
908 #error You must define PREFERRED_DEBUGGING_TYPE 904 #error You must define PREFERRED_DEBUGGING_TYPE
909 #endif /* no PREFERRED_DEBUGGING_TYPE */ 905 #endif /* no PREFERRED_DEBUGGING_TYPE */
910 906
911 /* If only one debugging format is supported, define PREFERRED_DEBUGGING_TYPE 907 /* If only one debugging format is supported, define PREFERRED_DEBUGGING_TYPE
912 here so other code needn't care. */ 908 here so other code needn't care. */
913 #elif defined DBX_DEBUGGING_INFO 909 #elif defined DBX_DEBUGGING_INFO
914 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG 910 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
915
916 #elif SDB_DEBUGGING_INFO
917 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
918 911
919 #elif defined DWARF2_DEBUGGING_INFO || defined DWARF2_LINENO_DEBUGGING_INFO 912 #elif defined DWARF2_DEBUGGING_INFO || defined DWARF2_LINENO_DEBUGGING_INFO
920 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG 913 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
921 914
922 #elif defined VMS_DEBUGGING_INFO 915 #elif defined VMS_DEBUGGING_INFO
1285 #define REVERSE_CONDITION(code, mode) reverse_condition (code) 1278 #define REVERSE_CONDITION(code, mode) reverse_condition (code)
1286 #endif 1279 #endif
1287 1280
1288 #ifndef TARGET_PECOFF 1281 #ifndef TARGET_PECOFF
1289 #define TARGET_PECOFF 0 1282 #define TARGET_PECOFF 0
1283 #endif
1284
1285 #ifndef TARGET_COFF
1286 #define TARGET_COFF 0
1290 #endif 1287 #endif
1291 1288
1292 #ifndef EH_RETURN_HANDLER_RTX 1289 #ifndef EH_RETURN_HANDLER_RTX
1293 #define EH_RETURN_HANDLER_RTX NULL 1290 #define EH_RETURN_HANDLER_RTX NULL
1294 #endif 1291 #endif