projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaca79a
)
* read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
author
Ian Lance Taylor
<ian@airs.com>
Tue, 22 Feb 1994 03:49:42 +0000
(
03:49
+0000)
committer
Ian Lance Taylor
<ian@airs.com>
Tue, 22 Feb 1994 03:49:42 +0000
(
03:49
+0000)
variables.
gas/ChangeLog
patch
|
blob
|
history
gas/read.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index 4e82cfcb97708085eeda9a7c70d8a12595366e4d..eed019d9e48f4fc215de6133cde2c20d272aa91a 100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,5
+1,12
@@
Mon Feb 21 11:41:18 1994 Ian Lance Taylor (ian@cygnus.com)
+ * config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
+ not bfd_error.
+ * config/obj-elf.c (elf_frob_file): Likewise.
+
+ * read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
+ variables.
+
* config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
* read.c (read_a_source_file): Use correct arguments to memcpy
diff --git
a/gas/read.c
b/gas/read.c
index 3390f46b04776c59730c043a244d30dd5a9a9438..440d6b98f95fa3e92aa548cab6b1e8846b10eb3a 100644
(file)
--- 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;