Searched refs:new_symbol (Results 1 – 2 of 2) sorted by relevance
64 symbol_t *new_symbol; in symbol_create() local66 new_symbol = (symbol_t *)malloc(sizeof(symbol_t)); in symbol_create()67 if (new_symbol == NULL) { in symbol_create()71 memset(new_symbol, 0, sizeof(*new_symbol)); in symbol_create()72 new_symbol->name = strdup(name); in symbol_create()73 if (new_symbol->name == NULL) in symbol_create()75 new_symbol->type = UNINITIALIZED; in symbol_create()76 new_symbol->count = 1; in symbol_create()77 return (new_symbol); in symbol_create()180 symbol_t *new_symbol; in symtable_get() local[all …]
232 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol() function418 s = new_symbol(name, mod, export); in sym_add_exported()