]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* read.c (emit_leb128_expr): Call md_cons_align.
authorRichard Henderson <rth@redhat.com>
Thu, 31 May 2001 00:05:15 +0000 (00:05 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 31 May 2001 00:05:15 +0000 (00:05 +0000)
gas/ChangeLog
gas/read.c

index 07b53de65148ef7ca416cb2b2accbde398ba89e1..f4381f25a2c7facf82e1a55b8c7578002ea94b56 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 d047a0f8b1239024480b21441b1195660474b675..04f3ff1400784aac355ca19c51127cf486f143bd 100644 (file)
@@ -4411,6 +4411,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.  */