diff options
author | Richard Henderson <rth@redhat.com> | 2001-08-17 17:53:20 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-08-17 17:53:20 -0700 |
commit | c8af3574e39507d08798c890c034c1935b51885c (patch) | |
tree | 980e4cc8bb27895af2efcfd04f1969c28cccd1f9 /gcc/output.h | |
parent | 920ae24b3528f63f23f9b77dc8600120cdd5658e (diff) | |
download | gcc-c8af3574e39507d08798c890c034c1935b51885c.zip gcc-c8af3574e39507d08798c890c034c1935b51885c.tar.gz gcc-c8af3574e39507d08798c890c034c1935b51885c.tar.bz2 |
defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Move from ...
* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
* dwarf2asm.c: ... here.
* dwarfout.c: Remove them.
* varasm.c (assemble_integer): Add align parameter.
(assemble_real, output_constant, output_constructor): Likewise.
* output.h: Update decls.
* dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
Update all callers.
* final.c (end_final): Abort profile block generation if we
havn't layed it out properly.
* output.h (assemble_eh_integer): Remove stale decl.
* varasm.c (assemble_zeros): Tidy; use assemble_integer.
(min_align): New.
(assemble_integer): Handle unaligned data.
(assemble_real): Abort on unaligned data.
(output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
anything useful.
(default_dtor_section_asm_out_destructor): Use assemble_align.
(default_named_section_asm_out_constructor): Likewise.
(default_ctor_section_asm_out_constructor): Likewise.
* config/darwin.c (machopic_asm_out_constructor): Likewise.
(machopic_asm_out_destructor): Likewise.
* config/nextstep.c (nextstep_asm_out_constructor): Likewise.
(nextstep_asm_out_destructor): Likewise.
* config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
(vms_asm_out_destructor): Likewise.
* java/class.c (emit_register_classes): Add align parameter to
call to assemble_integer.
From-SVN: r44992
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gcc/output.h b/gcc/output.h index b5aea51..4c4c5ae 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -287,18 +287,17 @@ extern void assemble_eh_label PARAMS ((const char *)); extern void assemble_name PARAMS ((FILE *, const char *)); #ifdef RTX_CODE -/* Assemble the integer constant X into an object of SIZE bytes. - X must be either a CONST_INT or CONST_DOUBLE. - - Return 1 if we were able to output the constant, otherwise 0. If FORCE is - non-zero, abort if we can't output the constant. */ -extern int assemble_integer PARAMS ((rtx, int, int)); -extern int assemble_eh_integer PARAMS ((rtx, int, int)); +/* Assemble the integer constant X into an object of SIZE bytes. ALIGN is + the alignment of the integer in bits. Return 1 if we were able to output + the constant, otherwise 0. If FORCE is non-zero, abort if we can't output + the constant. */ +extern int assemble_integer PARAMS ((rtx, unsigned, unsigned, int)); #ifdef REAL_VALUE_TYPE /* Assemble the floating-point constant D into an object of size MODE. */ extern void assemble_real PARAMS ((REAL_VALUE_TYPE, - enum machine_mode)); + enum machine_mode, + unsigned)); #endif #endif @@ -341,8 +340,10 @@ extern tree initializer_constant_valid_p PARAMS ((tree, tree)); Assumes output_addressed_constants has been done on EXP already. Generate exactly SIZE bytes of assembler data, padding at the end - with zeros if necessary. SIZE must always be specified. */ -extern void output_constant PARAMS ((tree, int)); + with zeros if necessary. SIZE must always be specified. + + ALIGN is the alignment in bits that may be assumed for the data. */ +extern void output_constant PARAMS ((tree, int, unsigned)); #endif #ifdef RTX_CODE |