From 47754fd5485a059bba7dd059b719a1d02ff38585 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 19 May 2002 02:50:27 -0700 Subject: target-def.h (TARGET_BINDS_LOCAL_P): New. * target-def.h (TARGET_BINDS_LOCAL_P): New. * target.h (struct gcc_target): Move boolean fields to the end. Add binds_local_p. * varasm.c (default_binds_local_p): New. * output.h: Declare it. * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook. * config/cris/cris.c (cris_encode_section_info): Likewise. * config/i386/i386.c (i386_encode_section_info): Likewise. * config/ia64/ia64.c (ia64_encode_section_info): Likewise. * config/sh/sh.c (sh_encode_section_info): Likewise. * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New. (TARGET_BINDS_LOCAL_P): New. From-SVN: r53620 --- gcc/target-def.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'gcc/target-def.h') diff --git a/gcc/target-def.h b/gcc/target-def.h index 40a3af0..c3438b5 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -209,6 +209,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_STRIP_NAME_ENCODING default_strip_name_encoding #endif +#ifndef TARGET_BINDS_LOCAL_P +#define TARGET_BINDS_LOCAL_P default_binds_local_p +#endif + /* In hook.c. */ #define TARGET_CANNOT_MODIFY_JUMPS_P hook_void_bool_false #define TARGET_IN_SMALL_DATA_P hook_tree_bool_false @@ -233,12 +237,13 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_INIT_BUILTINS, \ TARGET_EXPAND_BUILTIN, \ TARGET_SECTION_TYPE_FLAGS, \ - TARGET_HAVE_NAMED_SECTIONS, \ - TARGET_HAVE_CTORS_DTORS, \ TARGET_CANNOT_MODIFY_JUMPS_P, \ TARGET_IN_SMALL_DATA_P, \ + TARGET_BINDS_LOCAL_P, \ TARGET_ENCODE_SECTION_INFO, \ - TARGET_STRIP_NAME_ENCODING \ + TARGET_STRIP_NAME_ENCODING, \ + TARGET_HAVE_NAMED_SECTIONS, \ + TARGET_HAVE_CTORS_DTORS, \ } #include "hooks.h" -- cgit v1.1