From: Richard Henderson Date: Wed, 1 Aug 2001 22:47:09 +0000 (-0700) Subject: except.c (output_function_exception_table): Use assemble_align. X-Git-Tag: prereleases/libstdc++-3.0.95~2917 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a900ebc50d0b561682cdb63fd94a674392d05ff;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64b781d0d1bd..af480ef5e46c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-08-01 Richard Henderson + + * 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 * dwarfout.c: Remove reference to README.DWARF. diff --git a/gcc/except.c b/gcc/except.c index c7f5595e550f..e24a901c3c4c 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -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) diff --git a/gcc/varasm.c b/gcc/varasm.c index 4b9438e21366..82ad79202505 100644 --- a/gcc/varasm.c +++ b/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)); -} - - -