From: Steve Chamberlain Date: Mon, 31 Jan 1994 15:28:06 +0000 (+0000) Subject: * read.c (s_lcomm): Align lcomm data. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ede7bc1c605459a09542b86b7d4b3294721a05ff;p=binutils-gdb.git * read.c (s_lcomm): Align lcomm data. * config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction from different sections. --- diff --git a/gas/read.c b/gas/read.c index 817b4285746..3dcb9db2a7c 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) {