From b95bee134d2fc39c038f7af4113a9c2278a1e052 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 30 May 1996 23:04:52 +0000 Subject: * read.c (s_lcomm): Set section flags for .sbss section. --- gas/read.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gas/read.c') 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 -- cgit v1.1