Lines Matching refs:symtab_section

2340 static Section *symtab_section, *strtab_section;  variable
5858 put_elf_reloc(symtab_section, cur_text_section, in gcall_or_jmp()
6966 sym->c = add_elf_sym(symtab_section, value, size, info, 0, sh_num, name); in put_extern_sym2()
6968 esym = &((Elf32_Sym *)symtab_section->data)[sym->c]; in put_extern_sym2()
6987 put_elf_reloc(symtab_section, s, offset, type, sym->c); in greloc()
14449 esym = &((Elf32_Sym *)symtab_section->data)[sym->c]; in decl_initializer_alloc()
14571 ((Elf32_Sym *)symtab_section->data)[sym->c].st_size = in gen_function()
14759 ((Elf32_Sym *)symtab_section->data)[sym->c].st_other |= 1; in decl()
14845 section_sym = put_elf_sym(symtab_section, 0, 0, in tcc_compile()
14857 put_elf_sym(symtab_section, 0, 0, in tcc_compile()
16244 put_elf_reloc(symtab_section, cur_text_section, in gen_disp32()
18279 sym_index = find_elf_sym(symtab_section, name); in tcc_get_symbol()
18282 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in tcc_get_symbol()
18404 put_elf_reloc(symtab_section, stab_section, in put_stabs_r()
18489 sym_end = (Elf32_Sym *)(symtab_section->data + symtab_section->data_offset); in relocate_common_syms()
18490 for(sym = (Elf32_Sym *)symtab_section->data + 1; in relocate_common_syms()
18515 sym_end = (Elf32_Sym *)(symtab_section->data + symtab_section->data_offset); in relocate_syms()
18516 for(sym = (Elf32_Sym *)symtab_section->data + 1; in relocate_syms()
18523 name = symtab_section->link->data + sym->st_name; in relocate_syms()
18580 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in relocate_section()
18795 add_elf_sym(symtab_section, 0, 4, ELF32_ST_INFO(STB_GLOBAL, STT_OBJECT), in build_got()
18828 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in put_got_entry()
18829 name = symtab_section->link->data + sym->st_name; in put_got_entry()
18930 if (s->link != symtab_section) in build_got_entries()
18948 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in build_got_entries()
18967 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in build_got_entries()
18986 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in build_got_entries()
19062 add_elf_sym(symtab_section, in add_init_array_defines()
19066 add_elf_sym(symtab_section, in add_init_array_defines()
19087 add_elf_sym(symtab_section, 0, 0, in tcc_add_runtime()
19100 sym_index = find_elf_sym(symtab_section, "__bound_init"); in tcc_add_runtime()
19101 put_elf_reloc(symtab_section, init_section, in tcc_add_runtime()
19129 add_elf_sym(symtab_section, in tcc_add_linker_symbols()
19133 add_elf_sym(symtab_section, in tcc_add_linker_symbols()
19137 add_elf_sym(symtab_section, in tcc_add_linker_symbols()
19166 add_elf_sym(symtab_section, in tcc_add_linker_symbols()
19171 add_elf_sym(symtab_section, in tcc_add_linker_symbols()
19284 sym_end = (Elf32_Sym *)(symtab_section->data + in tcc_output_file()
19285 symtab_section->data_offset); in tcc_output_file()
19287 for(sym = (Elf32_Sym *)symtab_section->data + 1; in tcc_output_file()
19291 name = symtab_section->link->data + sym->st_name; in tcc_output_file()
19299 sym - (Elf32_Sym *)symtab_section->data); in tcc_output_file()
19327 name = symtab_section->link->data + sym->st_name; in tcc_output_file()
19346 sym_index = find_elf_sym(symtab_section, name); in tcc_output_file()
19350 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in tcc_output_file()
19366 nb_syms = symtab_section->data_offset / sizeof(Elf32_Sym); in tcc_output_file()
19368 for(sym = (Elf32_Sym *)symtab_section->data + 1; in tcc_output_file()
19372 name = symtab_section->link->data + sym->st_name; in tcc_output_file()
19377 (Elf32_Sym *)symtab_section->data] = in tcc_output_file()
19747 sort_syms(s1, symtab_section); in tcc_output_file()
19917 sm_table[i].s = symtab_section; in tcc_load_object_file()
20023 sym_index = find_elf_sym(symtab_section, name); in tcc_load_object_file()
20039 sym_index = add_elf_sym(symtab_section, sym->st_value, sym->st_size, in tcc_load_object_file()
20131 sym_index = find_elf_sym(symtab_section, p); in tcc_load_alacarte()
20133 sym = &((Elf32_Sym *)symtab_section->data)[sym_index]; in tcc_load_alacarte()
20556 sym_end = (Elf32_Sym *)(symtab_section->data + symtab_section->data_offset); in rt_printline()
20557 for(sym = (Elf32_Sym *)symtab_section->data + 1; in rt_printline()
20847 symtab_section = new_symtab(s, ".symtab", SHT_SYMTAB, 0, in tcc_new()
20850 strtab_section = symtab_section->link; in tcc_new()
20883 free_section(symtab_section->hash); in tcc_delete()
21113 add_elf_sym(symtab_section, val, 0, in tcc_add_symbol()