aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 3eee055..2bf064d 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1821,6 +1821,11 @@ s_lcomm (needs_align)
{
bss_seg = subseg_new (".sbss", 1);
seg_info (bss_seg)->bss = 1;
+#ifdef BFD_ASSEMBLER
+ if (! bfd_set_section_flags (stdoutput, bss_seg, SEC_ALLOC))
+ as_warn ("error setting flags for \".sbss\": %s",
+ bfd_errmsg (bfd_get_error ()));
+#endif
}
}
#endif