aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2002-09-04 01:56:12 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2002-09-03 21:56:12 -0400
commit2cc9fb4ca35498842e62309bb8658fdf07cb0f8c (patch)
tree7ed0cb8380f2dcaa2166c1420cbbe9f9f8f3eeb0 /gcc/output.h
parent8c085f6ff45e41bf947f5c9ce1f47bf43f27950a (diff)
downloadgcc-2cc9fb4ca35498842e62309bb8658fdf07cb0f8c.zip
gcc-2cc9fb4ca35498842e62309bb8658fdf07cb0f8c.tar.gz
gcc-2cc9fb4ca35498842e62309bb8658fdf07cb0f8c.tar.bz2
varasm.c (default_section_type_flags): Append _1 to name with shlib parameter.
* varasm.c (default_section_type_flags): Append _1 to name with shlib parameter. Use original name to call new function with implicit flag_pic. (decl_readonly_section): Likewise. (default_elf_select_section): Likewise. (default_unique_section): Likewise. (default_bind_local_p): Likewise. (categorize_decl_for_section): Add shlib parameter to use in place of implicit flag_pic. * output.h: Declare new functions with _1 and shlib argument. From-SVN: r56780
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index fadf5f8..bbacd31 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -468,6 +468,7 @@ extern rtx this_is_asm_operands;
/* Decide whether DECL needs to be in a writable section.
RELOC is the same as for SELECT_SECTION. */
extern bool decl_readonly_section PARAMS ((tree, int));
+extern bool decl_readonly_section_1 PARAMS ((tree, int, int));
/* User label prefix in effect for this compilation. */
extern const char *user_label_prefix;
@@ -508,6 +509,9 @@ extern bool named_section_first_declaration PARAMS((const char *));
union tree_node;
extern unsigned int default_section_type_flags PARAMS ((union tree_node *,
const char *, int));
+extern unsigned int default_section_type_flags_1 PARAMS ((union tree_node *,
+ const char *,
+ int, int));
extern void default_no_named_section PARAMS ((const char *, unsigned int));
extern void default_elf_asm_named_section PARAMS ((const char *, unsigned int));
@@ -530,13 +534,17 @@ extern void default_select_section PARAMS ((tree, int,
unsigned HOST_WIDE_INT));
extern void default_elf_select_section PARAMS ((tree, int,
unsigned HOST_WIDE_INT));
+extern void default_elf_select_section_1 PARAMS ((tree, int,
+ unsigned HOST_WIDE_INT, int));
extern void default_unique_section PARAMS ((tree, int));
+extern void default_unique_section_1 PARAMS ((tree, int, int));
extern void default_select_rtx_section PARAMS ((enum machine_mode, rtx,
unsigned HOST_WIDE_INT));
extern void default_elf_select_rtx_section PARAMS ((enum machine_mode, rtx,
unsigned HOST_WIDE_INT));
extern const char *default_strip_name_encoding PARAMS ((const char *));
extern bool default_binds_local_p PARAMS ((tree));
+extern bool default_binds_local_p_1 PARAMS ((tree, int));
extern void default_globalize_label PARAMS ((FILE *, const char *));
/* Emit data for vtable gc for GNU binutils. */