aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-08-19 16:46:03 +0000
committerFred Fish <fnf@specifix.com>1997-08-19 16:46:03 +0000
commit015b3352e5f79a89f766c5c42df731e00f30bbed (patch)
treecc7127a94c63f1d93472127d42bf0d5f934ea113
parentc4188c2a6a7c2a69a2663be3e57973937eb685ba (diff)
downloadgdb-015b3352e5f79a89f766c5c42df731e00f30bbed.zip
gdb-015b3352e5f79a89f766c5c42df731e00f30bbed.tar.gz
gdb-015b3352e5f79a89f766c5c42df731e00f30bbed.tar.bz2
Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to flag when alignment is in bytes instead of power of 2, and code to use that flag to convert alignment to bytes. (s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal. * read.h (s_lcomm_bytes): Add prototype. * config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is defined, write alignment to alignment bits in section header s_flags rather than the s_align field. start-sanitize-tic80 * config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80. * config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss pseudo, instead of s_lcomm which wants a power of two for alignment. end-sanitize-tic80 PR 12215 and PR 13061
-rw-r--r--gas/ChangeLog16
-rw-r--r--gas/config/tc-tic80.c2
2 files changed, 17 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 33c6c04..93301d5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,19 @@
+Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
+
+ * read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
+ flag when alignment is in bytes instead of power of 2, and code to
+ use that flag to convert alignment to bytes.
+ (s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal.
+ * read.h (s_lcomm_bytes): Add prototype.
+ * config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
+ defined, write alignment to alignment bits in section header s_flags
+ rather than the s_align field.
+start-sanitize-tic80
+ * config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
+ * config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
+ pseudo, instead of s_lcomm which wants a power of two for alignment.
+end-sanitize-tic80
+
Mon Aug 18 20:42:23 1997 Richard Henderson <rth@cygnus.com>
* macro.c (check_macro): use alloca instead of xmalloc to plug leak.
diff --git a/gas/config/tc-tic80.c b/gas/config/tc-tic80.c
index 1ef46c0..9c33eaa 100644
--- a/gas/config/tc-tic80.c
+++ b/gas/config/tc-tic80.c
@@ -61,7 +61,7 @@ const pseudo_typeS md_pseudo_table[] =
{
{ "align", s_align_bytes, 4 }, /* Do byte alignment, default is a 4 byte boundary */
{ "word", cons, 4 }, /* FIXME: Should this be machine independent? */
- { "bss", s_lcomm, 1 },
+ { "bss", s_lcomm_bytes, 1 },
{ "sect", obj_coff_section, 0}, /* For compatibility with TI tools */
{ "section", obj_coff_section, 0}, /* Standard COFF .section pseudo-op */
{ NULL, NULL, 0 }