aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-31 00:00:30 +0000
committerRichard Henderson <rth@redhat.com>2001-05-31 00:00:30 +0000
commit371b7465e40c2715bf7496d2f7950e987f62443e (patch)
treee3c375ad3e20e68a705c3a90357d3f1e1e9d5abc
parentc4365b191568c9bcc036325b62cbad9044db92e1 (diff)
downloadbinutils-371b7465e40c2715bf7496d2f7950e987f62443e.zip
binutils-371b7465e40c2715bf7496d2f7950e987f62443e.tar.gz
binutils-371b7465e40c2715bf7496d2f7950e987f62443e.tar.bz2
* read.c (emit_leb128_expr): Call md_cons_align.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/read.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0fe7e5b..4f1f5cc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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,
diff --git a/gas/read.c b/gas/read.c
index 209ab6a..32050c4 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -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. */