Lines Matching refs:symbolP

133 tag_insert (const char *name, symbolS *symbolP)  in tag_insert()  argument
137 if ((error_string = hash_jam (tag_hash, name, (char *) symbolP))) in tag_insert()
151 symbolS *symbolP; in tag_find_or_make() local
153 if ((symbolP = tag_find (name)) == NULL) in tag_find_or_make()
155 symbolP = symbol_new (name, undefined_section, in tag_find_or_make()
158 tag_insert (S_GET_NAME (symbolP), symbolP); in tag_find_or_make()
159 symbol_table_insert (symbolP); in tag_find_or_make()
162 return symbolP; in tag_find_or_make()
182 obj_coff_common_parse (int ignore ATTRIBUTE_UNUSED, symbolS *symbolP, addressT size) in obj_coff_common_parse() argument
193 S_SET_VALUE (symbolP, size); in obj_coff_common_parse()
194 S_SET_EXTERNAL (symbolP); in obj_coff_common_parse()
195 S_SET_SEGMENT (symbolP, bfd_com_section_ptr); in obj_coff_common_parse()
197 symbol_get_bfdsym (symbolP)->flags |= BSF_OBJECT; in obj_coff_common_parse()
223 pfxlen = strlen (" -aligncomm:") + 2 + strlen (S_GET_NAME (symbolP)) + 1; in obj_coff_common_parse()
226 (void) sprintf (frag, " -aligncomm:\"%s\",", S_GET_NAME (symbolP)); in obj_coff_common_parse()
232 return symbolP; in obj_coff_common_parse()
335 symbolS *symbolP; in c_dot_file_symbol() local
339 symbolP = symbol_new (filename, bfd_abs_section_ptr, 0, &zero_address_frag); in c_dot_file_symbol()
341 S_SET_STORAGE_CLASS (symbolP, C_FILE); in c_dot_file_symbol()
342 S_SET_NUMBER_AUXILIARY (symbolP, 1); in c_dot_file_symbol()
344 symbol_get_bfdsym (symbolP)->flags = BSF_DEBUGGING; in c_dot_file_symbol()
356 if (symbol_rootP != symbolP) in c_dot_file_symbol()
358 symbol_remove (symbolP, &symbol_rootP, &symbol_lastP); in c_dot_file_symbol()
359 symbol_insert (symbolP, symbol_rootP, &symbol_rootP, &symbol_lastP); in c_dot_file_symbol()
383 coff_obj_symbol_new_hook (symbolS *symbolP) in coff_obj_symbol_new_hook() argument
389 coffsymbol (symbol_get_bfdsym (symbolP))->native = (combined_entry_type *) s; in coff_obj_symbol_new_hook()
390 coffsymbol (symbol_get_bfdsym (symbolP))->native->is_sym = TRUE; in coff_obj_symbol_new_hook()
392 S_SET_DATA_TYPE (symbolP, T_NULL); in coff_obj_symbol_new_hook()
393 S_SET_STORAGE_CLASS (symbolP, 0); in coff_obj_symbol_new_hook()
394 S_SET_NUMBER_AUXILIARY (symbolP, 0); in coff_obj_symbol_new_hook()
396 if (S_IS_STRING (symbolP)) in coff_obj_symbol_new_hook()
397 SF_SET_STRING (symbolP); in coff_obj_symbol_new_hook()
399 if (S_IS_LOCAL (symbolP)) in coff_obj_symbol_new_hook()
400 SF_SET_LOCAL (symbolP); in coff_obj_symbol_new_hook()
631 symbolS *symbolP = NULL; in obj_coff_endef() local
793 || (symbolP = symbol_find (S_GET_NAME (def_symbol_in_progress))) == NULL in obj_coff_endef()
794 || SF_GET_TAG (def_symbol_in_progress) != SF_GET_TAG (symbolP)) in obj_coff_endef()
815 c_symbol_merge (def_symbol_in_progress, symbolP); in obj_coff_endef()
818 def_symbol_in_progress = symbolP; in obj_coff_endef()
851 if (symbolP == NULL) in obj_coff_endef()
1128 pecoff_obj_set_weak_hook (symbolS *symbolP) in pecoff_obj_set_weak_hook() argument
1137 S_SET_STORAGE_CLASS (symbolP, C_NT_WEAK); in pecoff_obj_set_weak_hook()
1138 S_SET_NUMBER_AUXILIARY (symbolP, 1); in pecoff_obj_set_weak_hook()
1139 SA_SET_SYM_FSIZE (symbolP, IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY); in pecoff_obj_set_weak_hook()
1141 alternateP = symbol_find_or_make (weak_name2altname (S_GET_NAME (symbolP))); in pecoff_obj_set_weak_hook()
1145 SA_SET_SYM_TAGNDX (symbolP, alternateP); in pecoff_obj_set_weak_hook()
1149 pecoff_obj_clear_weak_hook (symbolS *symbolP) in pecoff_obj_clear_weak_hook() argument
1153 S_SET_STORAGE_CLASS (symbolP, 0); in pecoff_obj_clear_weak_hook()
1154 SA_SET_SYM_FSIZE (symbolP, 0); in pecoff_obj_clear_weak_hook()
1156 alternateP = symbol_find (weak_name2altname (S_GET_NAME (symbolP))); in pecoff_obj_clear_weak_hook()
1169 symbolS *symbolP; in obj_coff_weak() local
1182 symbolP = symbol_find_or_make (name); in obj_coff_weak()
1185 S_SET_WEAK (symbolP); in obj_coff_weak()
1852 symbolS *symbolP; in symbol_dump() local
1854 for (symbolP = symbol_rootP; symbolP; symbolP = symbol_next (symbolP)) in symbol_dump()
1856 (unsigned long) symbolP, in symbol_dump()
1857 S_GET_NAME (symbolP), in symbol_dump()
1858 (long) S_GET_DATA_TYPE (symbolP), in symbol_dump()
1859 S_GET_STORAGE_CLASS (symbolP), in symbol_dump()
1860 (int) S_GET_SEGMENT (symbolP)); in symbol_dump()