* read.c (emit_leb128_expr): Call md_cons_align.
authorRichard Henderson <rth@redhat.com>
Thu, 31 May 2001 00:00:30 +0000 (00:00 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 31 May 2001 00:00:30 +0000 (00:00 +0000)
gas/ChangeLog
gas/read.c

index 0fe7e5b..4f1f5cc 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-30  Richard Henderson  <rth@redhat.com>
+
+       * read.c (emit_leb128_expr): Call md_cons_align.
+
 2001-05-28  Jeff Sturm  <jsturm@one-point.com>
 
        * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
index 209ab6a..32050c4 100644 (file)
@@ -4419,6 +4419,11 @@ emit_leb128_expr (exp, sign)
   if (check_eh_frame (exp, &nbytes))
     abort ();
 
+  /* Let the backend know that subsequent data may be byte aligned.  */
+#ifdef md_cons_align
+  md_cons_align (1);
+#endif
+
   if (op == O_constant)
     {
       /* If we've got a constant, emit the thing directly right now.  */