* read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm

variables.
This commit is contained in:
Ian Lance Taylor 1994-02-22 03:49:42 +00:00
parent aaca79a831
commit 9d90491e82
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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;