aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-01 15:47:09 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-01 15:47:09 -0700
commit7a900ebc50d0b561682cdb63fd94a674392d05ff (patch)
treee7dcf7ca57c25d98e9dbecc49bb47eb7bf8bdf08 /gcc
parent551e8a74ea0b70f44b64d0b3d5702d952a188bed (diff)
downloadgcc-7a900ebc50d0b561682cdb63fd94a674392d05ff.zip
gcc-7a900ebc50d0b561682cdb63fd94a674392d05ff.tar.gz
gcc-7a900ebc50d0b561682cdb63fd94a674392d05ff.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/except.c4
-rw-r--r--gcc/varasm.c71
3 files changed, 8 insertions, 73 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 64b781d..af480ef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/except.c b/gcc/except.c
index c7f5595..e24a901 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 4b9438e..82ad792 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));
-}
-
-
-