From 715bdd29f333820829fa846ea8302b8e540b88f2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 16 Aug 2001 19:33:41 -0700 Subject: 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 --- gcc/target.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gcc/target.h') diff --git a/gcc/target.h b/gcc/target.h index 3e9b46c..bc839c5 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -67,11 +67,9 @@ struct gcc_target /* Output the assembler code for function exit. */ void (* function_epilogue) PARAMS ((FILE *, HOST_WIDE_INT)); - /* Switch to an arbitrary section NAME with attributes as specified - by FLAGS. ALIGN specifies any known alignment requirements for - the section; 0 if the default should be used. */ - void (* named_section) PARAMS ((const char *, unsigned int, - unsigned int)); + /* Switch to an arbitrary section NAME with attributes as + specified by FLAGS. */ + void (* named_section) PARAMS ((const char *, unsigned int)); /* Output a constructor for a symbol with a given priority. */ void (* constructor) PARAMS ((struct rtx_def *, int)); -- cgit v1.1