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/config/c4x/c4x.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/config/c4x/c4x.c') diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index f6c987b..71d4c5c 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -193,8 +193,7 @@ static int c4x_rptb_valid_p PARAMS ((rtx, rtx)); static int c4x_label_ref_used_p PARAMS ((rtx, rtx)); static int c4x_valid_type_attribute_p PARAMS ((tree, tree, tree, tree)); static void c4x_insert_attributes PARAMS ((tree, tree *)); -static void c4x_asm_named_section PARAMS ((const char *, unsigned int, - unsigned int)); +static void c4x_asm_named_section PARAMS ((const char *, unsigned int)); /* Initialize the GCC target structure. */ #undef TARGET_VALID_TYPE_ATTRIBUTE @@ -5183,10 +5182,9 @@ c4x_expand_builtin (exp, target, subtarget, mode, ignore) } static void -c4x_asm_named_section (name, flags, align) +c4x_asm_named_section (name, flags) const char *name; unsigned int flags ATTRIBUTE_UNUSED; - unsigned int align ATTRIBUTE_UNUSED; { fprintf (asm_out_file, "\t.sect\t\"%s\"\n", name); } -- cgit v1.1