Home | History | Annotate | Download | only in libasm

Lines Matching defs:result

58   AsmSym_t *result;
74 result = (AsmSym_t *) malloc (sizeof (AsmSym_t));
75 if (result == NULL)
78 result->scn = (AsmScn_t *) &__libasm_com_scn;
79 result->size = size;
81 result->type = STT_OBJECT;
83 result->binding = STB_GLOBAL;
84 result->symidx = 0;
85 result->strent = ebl_strtabadd (ctx->symbol_strtab, name, 0);
90 result->offset = align;
98 if (asm_symbol_tab_insert (&ctx->symbol_tab, elf_hash (name), result)
103 free (result);
104 result = NULL;
113 return result;