From 49b4537ef70636426da35da66e431043aaa2dc48 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 0fe7e5b31..4f1f5ccef 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 209ab6ad0..32050c4f2 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.11.4.GIT