diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-05-30 23:04:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-05-30 23:04:52 +0000 |
commit | b95bee134d2fc39c038f7af4113a9c2278a1e052 (patch) | |
tree | c66bb088ad6b4882f7c059fa5dda75f980f0c6d9 /gas/read.c | |
parent | 0017655509ac91752827bc649a6c525295352344 (diff) | |
download | gdb-b95bee134d2fc39c038f7af4113a9c2278a1e052.zip gdb-b95bee134d2fc39c038f7af4113a9c2278a1e052.tar.gz gdb-b95bee134d2fc39c038f7af4113a9c2278a1e052.tar.bz2 |
* read.c (s_lcomm): Set section flags for .sbss section.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |