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
This commit is contained in:
parent
c4188c2a6a
commit
015b3352e5
@ -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.
|
||||
|
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user