From 9d90491e82ebbeb1edd55213c5ed5e63f71af8d1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 22 Feb 1994 03:49:42 +0000 Subject: [PATCH] * read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm variables. --- gas/ChangeLog | 7 +++++++ gas/read.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4e82cfcb977..eed019d9e48 100644 --- 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 3390f46b047..440d6b98f95 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; -- 2.30.2