aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/as.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 401418e..b58667d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
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);