diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-17 02:33:41 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-17 02:33:41 +0000 |
commit | 29a0ebee3ddc4ba1f6d765ba133cbb2df4068d2c (patch) | |
tree | 0a6ccfe97cf32b2d424aaa6d485705e909e9d189 /gcc/config/h8300 | |
parent | 7d65bfc1cd1150b39ad64cd89012a33cf366cfc5 (diff) | |
download | gcc-29a0ebee3ddc4ba1f6d765ba133cbb2df4068d2c.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44953 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r-- | gcc/config/h8300/h8300.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 55aef3876f7..61c255f9cf7 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -56,8 +56,7 @@ static const char *cond_string PARAMS ((enum rtx_code)); static int h8300_valid_decl_attribute PARAMS ((tree, tree, tree, tree)); static void h8300_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); static void h8300_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static void h8300_asm_named_section PARAMS ((const char *, unsigned int, - unsigned int)); +static void h8300_asm_named_section PARAMS ((const char *, unsigned int)); /* CPU_TYPE, says what cpu we're compiling for. */ int cpu_type; @@ -3329,10 +3328,9 @@ h8300_adjust_insn_length (insn, length) } static void -h8300_asm_named_section (name, flags, align) +h8300_asm_named_section (name, flags) const char *name; unsigned int flags ATTRIBUTE_UNUSED; - unsigned int align ATTRIBUTE_UNUSED; { /* ??? Perhaps we should be using default_coff_asm_named_section. */ fprintf (asm_out_file, "\t.section %s\n", name); |