]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
except.c (output_function_exception_table): Use assemble_align.
authorRichard Henderson <rth@redhat.com>
Wed, 1 Aug 2001 22:47:09 +0000 (15:47 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 Aug 2001 22:47:09 +0000 (15:47 -0700)
        * 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

gcc/ChangeLog
gcc/except.c
gcc/varasm.c

index 64b781d0d1bd1fe077e8647b1b28617eb9b55892..af480ef5e46ca754eedd5a29bede857580702325 100644 (file)
@@ -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.
index c7f5595e550fc5b9ffc53af69b527ad188e1342c..e24a901c3c4c0e2ff1e051fd487870ee53463ae3 100644 (file)
@@ -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)
index 4b9438e21366921a9398e060feceb11835c2167d..82ad792025058b38a72a3f39ef71a1eff04391fd 100644 (file)
@@ -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));
-}
-
-
-