Lines Matching refs:cur_text_section

2331 static Section *cur_text_section; /* current section where function code is  variable
5644 if (ind1 > cur_text_section->data_allocated) in g()
5645 section_realloc(cur_text_section, ind1); in g()
5646 cur_text_section->data[ind] = c; in g()
5671 ptr = (int *)(cur_text_section->data + t); in gsym_addr()
5694 if (ind1 > cur_text_section->data_allocated) in oad()
5695 section_realloc(cur_text_section, ind1); in oad()
5696 *(int *)(cur_text_section->data + ind) = s; in oad()
5706 greloc(cur_text_section, sym, ind, R_386_32); in gen_addr32()
5854 greloc(cur_text_section, vtop->sym, in gcall_or_jmp()
5858 put_elf_reloc(symtab_section, cur_text_section, in gcall_or_jmp()
6040 greloc(cur_text_section, sym_data, in gfunc_epilog()
6044 greloc(cur_text_section, sym, in gfunc_epilog()
6050 greloc(cur_text_section, sym_data, in gfunc_epilog()
6054 greloc(cur_text_section, sym, in gfunc_epilog()
6078 greloc(cur_text_section, sym, ind-4, R_386_PC32); in gfunc_epilog()
6127 p = (int *)(cur_text_section->data + *p); in gtst()
6449 greloc(cur_text_section, sym, in gen_cvt_ftoi()
6462 greloc(cur_text_section, sym, in gen_cvt_ftoi()
6510 greloc(cur_text_section, sym, in gen_bounded_ptr_add()
6517 vtop->c.ul = (cur_text_section->reloc->data_offset - sizeof(Elf32_Rel)); in gen_bounded_ptr_add()
6554 rel = (Elf32_Rel *)(cur_text_section->reloc->data + vtop->c.ul); in gen_bounded_ptr_deref()
8243 put_extern_sym(s, cur_text_section, (long)s->next, 1); in label_pop()
14494 cur_text_section, sym->c); in put_func_debug()
14551 ind = cur_text_section->data_offset; in gen_function()
14553 put_extern_sym(sym, cur_text_section, ind, 0); in gen_function()
14566 cur_text_section->data_offset = ind; in gen_function()
14604 cur_text_section = text_section; in gen_inline_functions()
14752 cur_text_section = ad.section; in decl()
14753 if (!cur_text_section) in decl()
14754 cur_text_section = text_section; in decl()
16222 greloc(cur_text_section, pe->sym, ind, R_386_32); in gen_expr32()
16232 if (sym->r == cur_text_section->sh_num) { in gen_disp32()
16239 greloc(cur_text_section, sym, ind, R_386_PC32); in gen_disp32()
16244 put_elf_reloc(symtab_section, cur_text_section, in gen_disp32()
16481 if (sym->r != cur_text_section->sh_num) in asm_opcode()
17366 asm_new_label1(s1, label, is_local, cur_text_section->sh_num, ind); in asm_new_label()
17393 cur_text_section->data_offset = ind; in use_section1()
17394 cur_text_section = sec; in use_section1()
17395 ind = cur_text_section->data_offset; in use_section1()
17413 sec = cur_text_section; in asm_parse_directive()
17640 last_text_section = cur_text_section; in asm_parse_directive()
17650 sec = cur_text_section; in asm_parse_directive()
17771 cur_text_section = text_section; in tcc_assemble()
17772 ind = cur_text_section->data_offset; in tcc_assemble()
17778 cur_text_section->data_offset = ind; in tcc_assemble()
18089 cur_text_section = text_section; in asm_global_instr()
18090 ind = cur_text_section->data_offset; in asm_global_instr()
18095 cur_text_section->data_offset = ind; in asm_global_instr()