Lines Matching refs:sym
122 ir_elf_symbol sym[GDBJIT_SYM__MAX]; member
249 sect->ofs = offsetof(ir_gdbjit_obj, sym); in ir_gdbjit_secthdr()
250 sect->size = sizeof(ctx->obj.sym); in ir_gdbjit_secthdr()
264 ir_elf_symbol *sym; in ir_gdbjit_symtab() local
268 sym = &ctx->obj.sym[GDBJIT_SYM_FILE]; in ir_gdbjit_symtab()
269 sym->name = ir_gdbjit_strz(ctx, "JIT code"); in ir_gdbjit_symtab()
270 sym->sectidx = ELFSECT_IDX_ABS; in ir_gdbjit_symtab()
271 sym->info = ELFSYM_INFO(ELFSYM_BIND_LOCAL, ELFSYM_TYPE_FILE); in ir_gdbjit_symtab()
273 sym = &ctx->obj.sym[GDBJIT_SYM_FUNC]; in ir_gdbjit_symtab()
274 sym->name = ir_gdbjit_strz(ctx, ctx->name); in ir_gdbjit_symtab()
275 sym->sectidx = GDBJIT_SECT_text; in ir_gdbjit_symtab()
276 sym->value = 0; in ir_gdbjit_symtab()
277 sym->size = ctx->szmcode; in ir_gdbjit_symtab()
278 sym->info = ELFSYM_INFO(ELFSYM_BIND_GLOBAL, ELFSYM_TYPE_FUNC); in ir_gdbjit_symtab()
467 memset(&obj->sym, 0, sizeof(ir_elf_symbol) * GDBJIT_SYM__MAX); in ir_gdbjit_buildobj()