diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-02-23 14:10:58 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-02-23 14:10:58 +0000 |
commit | 221ee7c920c3eb45da77f01f82c4611798473fcf (patch) | |
tree | 684973460c4b2cce9b47cff5b069f2fbfe37d61d /gcc/target-def.h | |
parent | 9bdfe70405125e57b5ef92bba66eb268c43ab1d4 (diff) | |
download | gcc-221ee7c920c3eb45da77f01f82c4611798473fcf.zip gcc-221ee7c920c3eb45da77f01f82c4611798473fcf.tar.gz gcc-221ee7c920c3eb45da77f01f82c4611798473fcf.tar.bz2 |
Makefile.in (opts.o): Depend on target.h.
* Makefile.in (opts.o): Depend on target.h.
* opts.c (decode_options): Use targetm.default_short_enums
instead of DEFAULT_SHORT_ENUMS.
* system.h (DEFAULT_SHORT_ENUMS): Poison.
* target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
(TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
* target.h (gcc_target): Add default_short_enums.
* config/cris/cris.h: Remove a comment about
DEFAULT_SHORT_ENUMS.
* config/ip2k/ip2k.h: Likewise.
* doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
TARGET_DEFAULT_SHORT_ENUMS. Update the description.
From-SVN: r78303
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index 289ab41..ef4c777 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -325,6 +325,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_GET_PCH_VALIDITY default_get_pch_validity #define TARGET_PCH_VALID_P default_pch_valid_p +#define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false + #define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_tree_false #define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_tree_false #define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_false @@ -390,6 +392,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_BUILD_BUILTIN_VA_LIST, \ TARGET_GET_PCH_VALIDITY, \ TARGET_PCH_VALID_P, \ + TARGET_DEFAULT_SHORT_ENUMS, \ TARGET_HAVE_NAMED_SECTIONS, \ TARGET_HAVE_CTORS_DTORS, \ TARGET_HAVE_TLS, \ |