aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/read.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 817b428..3dcb9db 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -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)
{