* read.c (s_lcomm): Align lcomm data.
authorSteve Chamberlain <sac@cygnus>
Mon, 31 Jan 1994 15:28:06 +0000 (15:28 +0000)
committerSteve Chamberlain <sac@cygnus>
Mon, 31 Jan 1994 15:28:06 +0000 (15:28 +0000)
* config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction
from different sections.

gas/read.c

index 817b42857467408c1a686b5763ae90447fec2032..3dcb9db2a7cfd8a21e260095fb6914151f17ddd6 100644 (file)
@@ -1090,6 +1090,18 @@ s_lcomm (needs_align)
     }
 #endif
 #endif
+   if (!needs_align)
+     {
+       /* FIXME. This needs to be machine independent. */
+       if (temp >= 4)
+        align = 2;
+       else if (temp >= 2)
+        align = 1;
+       else
+        align = temp;
+
+       record_alignment(bss_seg, align);
+     }
 
   if (needs_align)
     {