* write.c (subsegs_finish): Don't specially align last subseg.
authorAlan Modra <amodra@gmail.com>
Mon, 13 May 2002 01:23:51 +0000 (01:23 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 13 May 2002 01:23:51 +0000 (01:23 +0000)
gas/ChangeLog
gas/write.c

index f9df716bd431ad05f0748240ab6c7c1a9822bbf7..d411c269b3f650cb87faed81ee8e162a806d6146 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (subsegs_finish): Don't specially align last subseg.
+
 2002-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * stabs.c (s_stab_generic): Warn about a description field that is
index 5d5e4c9a0b4712d98ac9cbc3b422de504d1c849b..8d08674caaf1cdedad81da04f5b0fb43e569b2c8 100644 (file)
@@ -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
This page took 0.029047 seconds and 4 git commands to generate.