* read.c (get_stab_string_offset): Set SEC_DEBUGGING for any
authorJeff Law <law@redhat.com>
Sun, 31 Oct 1993 07:38:33 +0000 (07:38 +0000)
committerJeff Law <law@redhat.com>
Sun, 31 Oct 1993 07:38:33 +0000 (07:38 +0000)
        stab section we make.
        (s_stab_generic): Likewise.

gas/ChangeLog
gas/read.c

index 50879edad13409e77d121ecbe3b6b074ad3bc11d..a0c8e45f6eea0086b995fd4340abbc8753afb718 100644 (file)
@@ -1,3 +1,9 @@
+Sun Oct 31 00:36:40 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * read.c (get_stab_string_offset): Set SEC_DEBUGGING for any 
+       stab section we make.
+       (s_stab_generic): Likewise.
+
 Sat Oct 30 14:26:20 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * Allow backends to override the value of the fake label.
index b198b50002da4bb6994ad09bfed9efbe189b5491..f3a67dfb6606aa38b16b95b7ce8d61a96f89490c 100644 (file)
@@ -2675,7 +2675,7 @@ get_stab_string_offset (string, stabstr_secname)
          *p = 0;
          retval = seg_info (seg)->stabu.stab_string_size = 1;
 #ifdef BFD_ASSEMBLER
-         bfd_set_section_flags (stdoutput, seg, SEC_READONLY);
+         bfd_set_section_flags (stdoutput, seg, SEC_READONLY | SEC_DEBUGGING);
 #else
          free (newsecname);
 #endif
@@ -2787,7 +2787,8 @@ s_stab_generic (what, stab_secname, stabstr_secname)
     if (! seg_info (seg)->hadone)
       {
 #ifdef BFD_ASSEMBLER
-       bfd_set_section_flags (stdoutput, seg, SEC_READONLY | SEC_RELOC);
+       bfd_set_section_flags (stdoutput, seg,
+                              SEC_READONLY | SEC_RELOC | SEC_DEBUGGING);
 #endif
 #ifdef INIT_STAB_SECTION
        INIT_STAB_SECTION (seg);