From: Alan Modra Date: Mon, 13 May 2002 01:23:51 +0000 (+0000) Subject: * write.c (subsegs_finish): Don't specially align last subseg. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50b3122815f91cd459f573ea2fd5c5ba0581f51f;p=binutils-gdb.git * write.c (subsegs_finish): Don't specially align last subseg. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index f9df716bd43..d411c269b3f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2002-05-13 Alan Modra + + * write.c (subsegs_finish): Don't specially align last subseg. + 2002-05-11 Nick Clifton * stabs.c (s_stab_generic): Warn about a description field that is diff --git a/gas/write.c b/gas/write.c index 5d5e4c9a0b4..8d08674caaf 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1441,12 +1441,6 @@ subsegs_finish () if we are generating a listing. */ alignment = had_errors () ? 0 : SUB_SEGMENT_ALIGN (now_seg); - /* The last subsegment gets an aligment corresponding to the - alignment of the section. This allows proper nop-filling - at the end of code-bearing sections. */ - if (!frchainP->frch_next || frchainP->frch_next->frch_seg != now_seg) - alignment = get_recorded_alignment (now_seg); - if (subseg_text_p (now_seg)) frag_align_code (alignment, 0); else