aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-07-07 22:42:13 +0000
committerIan Lance Taylor <ian@airs.com>1995-07-07 22:42:13 +0000
commitc71a604ae102994ad081cb57be24586126048ba6 (patch)
tree991cab7c550bae91d67e1325f385705a43daabf2
parentd97d5b48abd98279f45b0d59ec1bd5843b942be4 (diff)
downloadgdb-c71a604ae102994ad081cb57be24586126048ba6.zip
gdb-c71a604ae102994ad081cb57be24586126048ba6.tar.gz
gdb-c71a604ae102994ad081cb57be24586126048ba6.tar.bz2
* read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.
PR 5167.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/read.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 000b5a1..f10c8d6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
Fri Jul 7 11:17:27 1995 Ian Lance Taylor <ian@cygnus.com>
+ * read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.
+
* config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, set
BSF_FUNCTION.
(symbol_globalP, symbol_global_lastP): New global variables.
diff --git a/gas/read.c b/gas/read.c
index b1c1e24..05996ff 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1156,7 +1156,7 @@ s_lcomm (needs_align)
else if (temp >= 2)
align = 1;
else
- align = temp;
+ align = 0;
record_alignment(bss_seg, align);
}