From a33132fd8e27166b7d74ba6f96b86b3e7b73090c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 7 Sep 1999 02:23:44 +0000 Subject: 1999-09-06 Donn Terry * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section. --- gas/as.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gas/as.c') diff --git a/gas/as.c b/gas/as.c index ef9ad10..59d9b83 100644 --- a/gas/as.c +++ b/gas/as.c @@ -950,9 +950,9 @@ perform_an_assembly_pass (argc, argv) bfd_set_section_flags (stdoutput, text_section, applicable & (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE | SEC_READONLY)); - /* @@ FIXME -- SEC_CODE seems to mean code only, rather than code possibly.*/ bfd_set_section_flags (stdoutput, data_section, - applicable & (SEC_ALLOC | SEC_LOAD | SEC_RELOC)); + applicable & (SEC_ALLOC | SEC_LOAD | SEC_RELOC + | SEC_DATA)); bfd_set_section_flags (stdoutput, bss_section, applicable & SEC_ALLOC); seg_info (bss_section)->bss = 1; subseg_new (BFD_ABS_SECTION_NAME, 0); -- cgit v1.1