aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-22 03:49:42 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-22 03:49:42 +0000
commit9d90491e82ebbeb1edd55213c5ed5e63f71af8d1 (patch)
tree135337eb1705a13c80596f920648cc0a19849e90 /gas/read.c
parentaaca79a831914a9dcb8783593a873402c93f1dfc (diff)
downloadgdb-9d90491e82ebbeb1edd55213c5ed5e63f71af8d1.zip
gdb-9d90491e82ebbeb1edd55213c5ed5e63f71af8d1.tar.gz
gdb-9d90491e82ebbeb1edd55213c5ed5e63f71af8d1.tar.bz2
* read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
variables.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 3390f46..440d6b9 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1103,7 +1103,9 @@ s_lcomm (needs_align)
if (!needs_align)
{
/* FIXME. This needs to be machine independent. */
- if (temp >= 4)
+ if (temp >= 8)
+ align = 3;
+ else if (temp >= 4)
align = 2;
else if (temp >= 2)
align = 1;