summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-16 19:33:41 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-16 19:33:41 -0700
commit715bdd29f333820829fa846ea8302b8e540b88f2 (patch)
tree0a6ccfe97cf32b2d424aaa6d485705e909e9d189 /gcc/target.h
parent09e07be6d7e6d66b2d48fc20516ce0385cfb268e (diff)
downloadgcc-715bdd29f333820829fa846ea8302b8e540b88f2.tar.gz
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/target.h')
-rw-r--r--gcc/target.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 3e9b46cb9d0..bc839c5c829 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));