IBM Z: Implement instruction set extensions
[deliverable/binutils-gdb.git] / gas / subsegs.c
index 8e4b310afeb98008cf1b0cb33cc941448a7e8db0..191879eb08e44110909c584da810300109e0f944 100644 (file)
@@ -89,6 +89,10 @@ subseg_set_rest (segT seg, subsegT subseg)
 
   seginfo = seg_info (seg);
 
+  /* Should the section symbol be kept?  */
+  if (bfd_keep_unused_section_symbols (stdoutput))
+    seg->symbol->flags |= BSF_SECTION_SYM_USED;
+
   /* Attempt to find or make a frchain for that subsection.
      We keep the list sorted by subsection number.  */
   for (frcP = *(lastPP = &seginfo->frchainP);
This page took 0.022869 seconds and 4 git commands to generate.