except.c (output_function_exception_table): Use assemble_align.
* except.c (output_function_exception_table): Use assemble_align. * varasm.c (assemble_eh_label): Remove. (assemble_eh_align, assemble_eh_integer): Remove. From-SVN: r44561
This commit is contained in:
parent
551e8a74ea
commit
7a900ebc50
@ -1,3 +1,9 @@
|
||||
2001-08-01 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* except.c (output_function_exception_table): Use assemble_align.
|
||||
* varasm.c (assemble_eh_label): Remove.
|
||||
(assemble_eh_align, assemble_eh_integer): Remove.
|
||||
|
||||
2001-08-01 Robert Lipe <robertl@caldera.com>
|
||||
|
||||
* dwarfout.c: Remove reference to README.DWARF.
|
||||
|
@ -3500,7 +3500,7 @@ output_function_exception_table ()
|
||||
#endif
|
||||
tt_format_size = size_of_encoded_value (tt_format);
|
||||
|
||||
assemble_eh_align (tt_format_size * BITS_PER_UNIT);
|
||||
assemble_align (tt_format_size * BITS_PER_UNIT);
|
||||
}
|
||||
|
||||
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "LLSDA", funcdef_number);
|
||||
@ -3607,7 +3607,7 @@ output_function_exception_table ()
|
||||
(i ? NULL : "Action record table"));
|
||||
|
||||
if (have_tt_data)
|
||||
assemble_eh_align (tt_format_size * BITS_PER_UNIT);
|
||||
assemble_align (tt_format_size * BITS_PER_UNIT);
|
||||
|
||||
i = VARRAY_ACTIVE_SIZE (cfun->eh->ttype_data);
|
||||
while (i-- > 0)
|
||||
|
71
gcc/varasm.c
71
gcc/varasm.c
@ -4764,74 +4764,3 @@ init_varasm_once ()
|
||||
ggc_add_root (&const_str_htab, 1, sizeof const_str_htab,
|
||||
mark_const_str_htab);
|
||||
}
|
||||
|
||||
/* Extra support for EH values. */
|
||||
void
|
||||
assemble_eh_label (name)
|
||||
const char *name;
|
||||
{
|
||||
#ifdef ASM_OUTPUT_EH_LABEL
|
||||
ASM_OUTPUT_EH_LABEL (asm_out_file, name);
|
||||
#else
|
||||
assemble_label (name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Assemble an alignment pseudo op for an ALIGN-bit boundary. */
|
||||
|
||||
void
|
||||
assemble_eh_align (align)
|
||||
int align;
|
||||
{
|
||||
#ifdef ASM_OUTPUT_EH_ALIGN
|
||||
if (align > BITS_PER_UNIT)
|
||||
ASM_OUTPUT_EH_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
|
||||
#else
|
||||
assemble_align (align);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/* On some platforms, we may want to specify a special mechansim to
|
||||
output EH data when generating with a function.. */
|
||||
int
|
||||
assemble_eh_integer (x, size, force)
|
||||
rtx x;
|
||||
int size;
|
||||
int force;
|
||||
{
|
||||
|
||||
switch (size)
|
||||
{
|
||||
#ifdef ASM_OUTPUT_EH_CHAR
|
||||
case 1:
|
||||
ASM_OUTPUT_EH_CHAR (asm_out_file, x);
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
#ifdef ASM_OUTPUT_EH_SHORT
|
||||
case 2:
|
||||
ASM_OUTPUT_EH_SHORT (asm_out_file, x);
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
#ifdef ASM_OUTPUT_EH_INT
|
||||
case 4:
|
||||
ASM_OUTPUT_EH_INT (asm_out_file, x);
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
#ifdef ASM_OUTPUT_EH_DOUBLE_INT
|
||||
case 8:
|
||||
ASM_OUTPUT_EH_DOUBLE_INT (asm_out_file, x);
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return (assemble_integer (x, size, force));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user