summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-15 06:10:43 +0000
committerRichard Henderson <rth@redhat.com>2001-05-15 06:10:43 +0000
commit2bf7fc39beb0d2189015c7e75f12a77dbf88be6d (patch)
tree20034db6320c739732cedc3822b803429dc1808b /gas
parenta51692db179dfc91795f09e3487648bec7618380 (diff)
downloadbinutils-redhat-2bf7fc39beb0d2189015c7e75f12a77dbf88be6d.tar.gz
* ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
last change.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/ehopt.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cc46dcd016..916bca24ae 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/ehopt.c b/gas/ehopt.c
index e556e29d17..c25fd51e5d 100644
--- a/gas/ehopt.c
+++ b/gas/ehopt.c
@@ -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;
}