summaryrefslogtreecommitdiff
path: root/gcc/target-def.h
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-05-28 11:58:35 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2010-05-28 13:58:35 +0200
commitd4048208a4c81eca9372664003b09922b9d5d1aa (patch)
treec3d191d473097e189086bc6f9d252e42b7ae28ce /gcc/target-def.h
parent40dcd88bb984adbf44039ecef933bd061a810e06 (diff)
downloadgcc-d4048208a4c81eca9372664003b09922b9d5d1aa.tar.gz
c-common.c (c_common_nodes_and_builtins): Replace use of TARGET_ENUM_VA_LIST by target hook enum_va_list.
2010-05-28 Kai Tietz <kai.tietz@onevision.com> * c-common.c (c_common_nodes_and_builtins): Replace use of TARGET_ENUM_VA_LIST by target hook enum_va_list. * config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook to ix86_enum_va_list. * config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed. * doc/tm.texi (TARGET_ENUM_VA_LIST): Removed. (TARGET_ENUM_VA_LIST_P): Add hook description. * target-def.h (TARGET_ENUM_VA_LIST_P): Added. * target.h (gcc_target): Add enum_va_list hook. From-SVN: r159966
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r--gcc/target-def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h
index 4db3997ad11..109772329d6 100644
--- a/gcc/target-def.h
+++ b/gcc/target-def.h
@@ -538,6 +538,10 @@
#define TARGET_SCALAR_MODE_SUPPORTED_P default_scalar_mode_supported_p
#endif
+#ifndef TARGET_ENUM_VA_LIST_P
+#define TARGET_ENUM_VA_LIST_P NULL
+#endif
+
#ifndef TARGET_DECIMAL_FLOAT_SUPPORTED_P
#define TARGET_DECIMAL_FLOAT_SUPPORTED_P default_decimal_float_supported_p
#endif
@@ -1009,6 +1013,7 @@
TARGET_CC_MODES_COMPATIBLE, \
TARGET_MACHINE_DEPENDENT_REORG, \
TARGET_BUILD_BUILTIN_VA_LIST, \
+ TARGET_ENUM_VA_LIST_P, \
TARGET_FN_ABI_VA_LIST, \
TARGET_CANONICAL_VA_LIST_TYPE, \
TARGET_EXPAND_BUILTIN_VA_START, \