aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-01-31 15:28:06 +0000
committerSteve Chamberlain <sac@cygnus>1994-01-31 15:28:06 +0000
commitede7bc1c605459a09542b86b7d4b3294721a05ff (patch)
treed6d02b75b866078e854d6c073b07275dbb040c40 /gas
parent83fe861ee048f4f33c7ac51bccee726c093a3c15 (diff)
downloadgdb-ede7bc1c605459a09542b86b7d4b3294721a05ff.zip
gdb-ede7bc1c605459a09542b86b7d4b3294721a05ff.tar.gz
gdb-ede7bc1c605459a09542b86b7d4b3294721a05ff.tar.bz2
* read.c (s_lcomm): Align lcomm data.
* config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction from different sections.
Diffstat (limited to 'gas')
-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)
{