* write.c (subsegs_finish): Fix thinko last change -- don't
authorRichard Henderson <rth@redhat.com>
Thu, 28 Dec 2000 19:14:37 +0000 (19:14 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 28 Dec 2000 19:14:37 +0000 (19:14 +0000)
        "optimize" the alignment == 0 case.

gas/ChangeLog
gas/write.c

index e6bd7376966d0328167b0d3e36bd483ab695e968..5608beaae081d9aaf33b7be4e1958e6017e9b755 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-28  Richard Henderson  <rth@redhat.com>
+
+       * write.c (subsegs_finish): Fix thinko last change -- don't
+       "optimize" the alignment == 0 case.
+
 2000-12-28  Richard Henderson  <rth@redhat.com>
 
        * as.h (rs_align_test): New.
index 897e70707379d4d73578b87e1df8eb105e5a72bc..24b387e649f7b9aacd4450f5f3e6563065b2ece9 100644 (file)
@@ -1413,13 +1413,10 @@ subsegs_finish ()
       if (!frchainP->frch_next || frchainP->frch_next->frch_seg != now_seg)
        alignment = get_recorded_alignment (now_seg);
 
-      if (alignment > 0)
-       {
-         if (subseg_text_p (now_seg))
-           frag_align_code (alignment, 0);
-         else
-           frag_align (alignment, 0, 0);
-       }
+      if (subseg_text_p (now_seg))
+       frag_align_code (alignment, 0);
+      else
+       frag_align (alignment, 0, 0);
 
       /* frag_align will have left a new frag.
         Use this last frag for an empty ".fill".