]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
dwarf2out.c (outout_call_frame_info): Ensure that the info has proper alignment.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 26 Nov 1997 07:40:30 +0000 (07:40 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 26 Nov 1997 07:40:30 +0000 (00:40 -0700)
        * dwarf2out.c (outout_call_frame_info): Ensure that the info has
        proper alignment.

        * libgcc2.c (__throw): Initialize HANDLER.

From-SVN: r16725

gcc/ChangeLog
gcc/dwarf2out.c
gcc/libgcc2.c

index 1e4552bf07fd7de1771f4d7c07ae6671c59893db..cc44625f9caed0b13fcd01926fabe9ae4d161e15 100644 (file)
@@ -1,5 +1,10 @@
 Tue Nov 25 22:43:30 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
+       * dwarf2out.c (outout_call_frame_info): Ensure that the info has
+       proper alignment.
+
+       * libgcc2.c (__throw): Initialize HANDLER.
+
        * dwarfout.c (output_type): If finalizing, write out nested types 
        of types we've already written.
 
index 64b41aa09f48f9797c5ecda065aef48db144532e..fea92095f4f456a467a24ca896335e3bfe2fc1b1 100644 (file)
@@ -1559,6 +1559,7 @@ output_call_frame_info (for_eh)
       tree label = get_file_function_name ('F');
 
       data_section ();
+      ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (PTR_SIZE));
       ASM_GLOBALIZE_LABEL (asm_out_file, IDENTIFIER_POINTER (label));
       ASM_OUTPUT_LABEL (asm_out_file, IDENTIFIER_POINTER (label));
 #endif
index 6c34da7acf5284c6ef086edf83b204e93dec2514..23181b3e85cb34cd2bb00327fbff424e209f6a76 100644 (file)
@@ -3681,6 +3681,7 @@ label:
   /* Now reset pc to the right throw point.  */
   pc = __eh_pc;
 
+  handler = 0;
   for (;;)
     { 
       frame_state *p = udata;