diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-28 11:58:35 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-28 11:58:35 +0000 |
commit | acd6f472dd0e06dc096af25ddd7572a60dad8e1d (patch) | |
tree | c3d191d473097e189086bc6f9d252e42b7ae28ce /gcc/target-def.h | |
parent | 2a32346375427d92dfcdb5d4091e825eda4a5500 (diff) | |
download | gcc-acd6f472dd0e06dc096af25ddd7572a60dad8e1d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 5 |
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, \ |