1999-09-06 Donn Terry <donn@interix.com>
authorIan Lance Taylor <ian@airs.com>
Tue, 7 Sep 1999 02:23:44 +0000 (02:23 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 7 Sep 1999 02:23:44 +0000 (02:23 +0000)
* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.

gas/ChangeLog
gas/as.c

index 401418e3737c8dfee0927fa2132da47f0212b10f..b58667d009479a08d507607d48498134700df199 100644 (file)
@@ -1,3 +1,7 @@
+1999-09-06  Donn Terry  <donn@interix.com>
+
+       * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
+
 Mon Sep  6 04:26:56 1999  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
index ef9ad1006ee0519a0cfdbf9980a85016d7195d8f..59d9b831fad13533f3887a6e88b980bad39a075d 100644 (file)
--- 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);