* config/obj-coff.c (obj_coff_section): Set the bss flag on
sections with the "b" attribute.
+2020-03-25 J.W. Jagersma <jwjagersma@gmail.com>
+
+ * config/obj-coff.c (obj_coff_section): Set the bss flag on
+ sections with the "b" attribute.
+
2020-03-22 Alan Modra <amodra@gmail.com>
* testsuite/gas/s12z/truncated.d: Update expected output.
unsigned int exp;
flagword flags, oldflags;
asection *sec;
+ bfd_boolean is_bss = FALSE;
if (flag_mri)
{
/* Uninitialised data section. */
flags |= SEC_ALLOC;
flags &=~ SEC_LOAD;
+ is_bss = TRUE;
break;
case 'n':
sec = subseg_new (name, (subsegT) exp);
+ if (is_bss)
+ seg_info (sec)->bss = 1;
+
if (alignment >= 0)
sec->alignment_power = alignment;