if (symbolP->sy_value.X_op == O_symbol && (! S_IS_DEFINED (symbolP) || S_IS_COMMON (symbolP))) { *symbolPP = symbol_next (symbolP); continue; }
obj_crawl_symbol_chain (headers)     object_headers *headers;{  symbolS **symbolPP;  symbolS *symbolP;  int symbol_number = 0;  tc_crawl_symbol_chain (headers);  symbolPP = &symbol_rootP;	/*->last symbol chain link. */  while ((symbolP = *symbolPP) != NULL)    {      if (flag_readonly_data_in_text && (S_GET_SEGMENT (symbolP) == SEG_DATA))	{	  S_SET_SEGMENT (symbolP, SEG_TEXT);	}			/* if pusing data into text */      resolve_symbol_value (symbolP);      /* OK, here is how we decide which symbols go out into the	 brave new symtab.  Symbols that do are:			 * symbols with no name (stabd's?)	 * symbols with debug info in their N_TYPE			 Symbols that don't are:	 * symbols that are registers	 * symbols with \1 as their 3rd character (numeric labels)	 * "local labels" as defined by S_LOCAL_NAME(name)	 if the -L switch was passed to gas.			 All other symbols are output.  We complain if a deleted	 symbol was marked external. */      if (1	  && !S_IS_REGISTER (symbolP)	  && (!S_GET_NAME (symbolP)	      || S_IS_DEBUG (symbolP)#ifdef TC_I960      /* FIXME-SOON this ifdef seems highly dubious to me.  xoxorich. */	      || !S_IS_DEFINED (symbolP)	      || S_IS_EXTERNAL (symbolP)#endif /* TC_I960 */	      || (S_GET_NAME (symbolP)[0] != '\001' && (flag_keep_locals || !S_LOCAL_NAME (symbolP)))))	{	  symbolP->sy_number = symbol_number++;	  /* The + 1 after strlen account for the \0 at the			   end of each string */	  if (!S_IS_STABD (symbolP))	    {	      /* Ordinary case. */	      symbolP->sy_name_offset = string_byte_count;	      string_byte_count += strlen (S_GET_NAME (symbolP)) + 1;	    }	  else			/* .Stabd case. */	    symbolP->sy_name_offset = 0;	  symbolPP = &(symbol_next (symbolP));	}      else	{	  if (S_IS_EXTERNAL (symbolP) || !S_IS_DEFINED (symbolP))	    {	      as_bad ("Local symbol %s never defined", S_GET_NAME (symbolP));	    }			/* oops. */	  /* Unhook it from the chain */	  *symbolPP = symbol_next (symbolP);	}			/* if this symbol should be in the output */    }				/* for each symbol */  H_SET_SYMBOL_TABLE_SIZE (headers, symbol_number);}