diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-07 02:23:44 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-07 02:23:44 +0000 |
commit | a33132fd8e27166b7d74ba6f96b86b3e7b73090c (patch) | |
tree | 903707f00313e5cbb119024e6b57c32c985985dd /gas/as.c | |
parent | 417335159be2665e8257878719168349ca39b607 (diff) | |
download | gdb-a33132fd8e27166b7d74ba6f96b86b3e7b73090c.zip gdb-a33132fd8e27166b7d74ba6f96b86b3e7b73090c.tar.gz gdb-a33132fd8e27166b7d74ba6f96b86b3e7b73090c.tar.bz2 |
1999-09-06 Donn Terry <donn@interix.com>
* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
Diffstat (limited to 'gas/as.c')
-rw-r--r-- | gas/as.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |