diff options
author | Richard Henderson <rth@redhat.com> | 2001-08-16 19:33:41 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-08-16 19:33:41 -0700 |
commit | 715bdd29f333820829fa846ea8302b8e540b88f2 (patch) | |
tree | 0a6ccfe97cf32b2d424aaa6d485705e909e9d189 /gcc/output.h | |
parent | 09e07be6d7e6d66b2d48fc20516ce0385cfb268e (diff) | |
download | gcc-715bdd29f333820829fa846ea8302b8e540b88f2.zip gcc-715bdd29f333820829fa846ea8302b8e540b88f2.tar.gz gcc-715bdd29f333820829fa846ea8302b8e540b88f2.tar.bz2 |
varasm.c (named_section_flags): Remove align parameter.
* varasm.c (named_section_flags): Remove align parameter.
* varasm.c, dwarf2out.c: Update all callers.
* output.h: Update prototypes.
* target.h (target.asm_out.named_section): Remove align parameter.
* varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
* varasm.c (in_named_entry_eq, in_named_entry_hash): New.
(get_named_section_flags, set_named_section_flags): New.
(named_section_flags): Use them.
(named_section): Do decl vs section flags check here...
(default_section_type_flags): ... not here.
(init_varasm_once): Create in_named_htab.
(resolve_unique_section): Mark reloc unused.
From-SVN: r44953
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gcc/output.h b/gcc/output.h index c2cf497..6b8ffbc 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -454,21 +454,19 @@ extern void no_asm_to_stream PARAMS ((FILE *)); #define SECTION_FORGET 64 /* forget that we've entered the section */ #define SECTION_MACH_DEP 128 /* subsequent bits reserved for target */ -extern void named_section_flags PARAMS ((const char *, unsigned int, - unsigned int)); +extern unsigned int get_named_section_flags PARAMS ((const char *)); +extern bool set_named_section_flags PARAMS ((const char *, unsigned int)); +extern void named_section_flags PARAMS ((const char *, unsigned int)); union tree_node; extern unsigned int default_section_type_flags PARAMS ((union tree_node *, const char *, int)); -extern void default_no_named_section PARAMS ((const char *, unsigned int, - unsigned int)); -extern void default_elf_asm_named_section PARAMS ((const char *, unsigned int, - unsigned int)); -extern void default_coff_asm_named_section PARAMS ((const char *, unsigned int, - unsigned int)); -extern void default_pe_asm_named_section PARAMS ((const char *, unsigned int, - unsigned int)); +extern void default_no_named_section PARAMS ((const char *, unsigned int)); +extern void default_elf_asm_named_section PARAMS ((const char *, unsigned int)); +extern void default_coff_asm_named_section PARAMS ((const char *, + unsigned int)); +extern void default_pe_asm_named_section PARAMS ((const char *, unsigned int)); extern void default_stabs_asm_out_destructor PARAMS ((struct rtx_def *, int)); extern void default_named_section_asm_out_destructor PARAMS ((struct rtx_def *, |