+Thu Sep 9 15:05:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * read.c (get_stab_string_offset, s_stab_generic): If
+ BFD_ASSEMBLER, call subseg_set rather than subseg_new.
+
Wed Sep 8 15:09:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
/* free (newsecname);*/
}
#ifdef BFD_ASSEMBLER
- subseg_new ((char *) seg->name, save_subseg);
+ subseg_set (seg, save_subseg);
#else
/* subseg_new (seg, save_subseg); */
#endif
gdb_string_index++;
}
#ifdef BFD_ASSEMBLER
- subseg_new ((char *) save_seg->name, save_subseg);
+ subseg_set (save_seg, save_subseg);
#else
/* subseg_new (save_seg, save_subseg); */
#endif
if (goof)
{
ignore_rest_of_line ();
+#ifdef BFD_ASSEMBLER
+ subseg_set (saved_seg, saved_subseg);
+#else
subseg_new (saved_seg, saved_subseg);
+#endif
return;
}
#ifdef BFD_ASSEMBLER
- subseg_new ((char *) seg->name, subseg);
+ subseg_set (seg, subseg);
#endif
#if 0 /* needed for elf only? */
md_number_to_chars (p, 0, 4);
}
#ifdef BFD_ASSEMBLER
- subseg_new ((char *) saved_seg->name, subseg);
+ subseg_set (saved_seg, subseg);
#else
/* subseg_new (saved_seg, subseg); */
#endif