From 371b7465e40c2715bf7496d2f7950e987f62443e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 31 May 2001 00:00:30 +0000 Subject: [PATCH] * read.c (emit_leb128_expr): Call md_cons_align. --- gas/ChangeLog | 4 ++++ gas/read.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0fe7e5b3130..4f1f5ccefa0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-05-30 Richard Henderson + + * read.c (emit_leb128_expr): Call md_cons_align. + 2001-05-28 Jeff Sturm * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16, diff --git a/gas/read.c b/gas/read.c index 209ab6ad08a..32050c4f208 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. */ -- 2.30.2