OSDN Git Service

* ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
authorrth <rth>
Tue, 15 May 2001 06:10:43 +0000 (06:10 +0000)
committerrth <rth>
Tue, 15 May 2001 06:10:43 +0000 (06:10 +0000)
        last change.

gas/ChangeLog
gas/ehopt.c

index cc46dcd..916bca2 100644 (file)
@@ -1,5 +1,10 @@
 2001-05-14  Richard Henderson  <rth@redhat.com>
 
+       * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
+       last change.
+
+2001-05-14  Richard Henderson  <rth@redhat.com>
+
        * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
        also collect whether to expect an FDE augmentation.
        (check_eh_frame): Rewrite as a state machine.  Track where in
index e556e29..c25fd51 100644 (file)
@@ -537,7 +537,8 @@ eh_frame_convert_frag (frag)
       break;
     }
 
-  frag->fr_fix += frag->fr_subtype;
+  frag->fr_fix += frag->fr_subtype & 7;
   frag->fr_type = rs_fill;
+  frag->fr_subtype = 0;
   frag->fr_offset = 0;
 }