summaryrefslogtreecommitdiff
path: root/gas/ehopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/ehopt.c')
-rw-r--r--gas/ehopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/ehopt.c b/gas/ehopt.c
index e556e29d173..c25fd51e5db 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;
}