]> 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: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 0fe7e5b3130120898d5596d00cd679c1f7f3ab03..4f1f5ccefa02191d95f3a74a27a8fbd3ecba39f9 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 209ab6ad08aa1cad465aa1c7549d982658aace0b..32050c4f20884cb4415473dc4ce3f0e27b1ab074 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.  */