Home
last modified time | relevance | path

Searched refs:osym (Results 1 – 9 of 9) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dbinary.cc352 elfcpp::Sym_write<size, big_endian> osym(pout); in write_symbol() local
353 osym.put_st_name(name.empty() ? 0 : strtab->get_offset(name.c_str())); in write_symbol()
354 osym.put_st_value(value); in write_symbol()
355 osym.put_st_size(st_size); in write_symbol()
356 osym.put_st_info(name.empty() ? elfcpp::STB_LOCAL : elfcpp::STB_GLOBAL, in write_symbol()
358 osym.put_st_other(elfcpp::STV_DEFAULT, 0); in write_symbol()
359 osym.put_st_shndx(shndx); in write_symbol()
Dincremental.cc2127 elfcpp::Sym_write<size, big_endian> osym(symbuf); in do_add_symbols() local
2186 osym.put_st_name(0); in do_add_symbols()
2187 osym.put_st_value(v); in do_add_symbols()
2188 osym.put_st_size(gsym.get_st_size()); in do_add_symbols()
2189 osym.put_st_info(st_bind, st_type); in do_add_symbols()
2190 osym.put_st_other(gsym.get_st_other()); in do_add_symbols()
2191 osym.put_st_shndx(shndx); in do_add_symbols()
2623 elfcpp::Sym_write<size, big_endian> osym(ov); in do_relocate() local
2624 osym.put_st_name(sympool->get_offset(lsym.name)); in do_relocate()
2625 osym.put_st_value(lsym.st_value); in do_relocate()
[all …]
Dsymtab.cc3084 elfcpp::Sym_write<size, big_endian> osym(p); in sized_write_symbol() local
3086 osym.put_st_name(pool->get_offset(sym->name())); in sized_write_symbol()
3088 osym.put_st_name(pool->get_offset(sym->versioned_name())); in sized_write_symbol()
3089 osym.put_st_value(value); in sized_write_symbol()
3092 osym.put_st_size(0); in sized_write_symbol()
3094 osym.put_st_size(sym->symsize()); in sized_write_symbol()
3102 osym.put_st_info(elfcpp::elf_st_info(elfcpp::STB_LOCAL, type)); in sized_write_symbol()
3104 osym.put_st_info(elfcpp::elf_st_info(binding, type)); in sized_write_symbol()
3105 osym.put_st_other(elfcpp::elf_st_other(sym->visibility(), sym->nonvis())); in sized_write_symbol()
3106 osym.put_st_shndx(shndx); in sized_write_symbol()
[all …]
Dobject.cc2632 elfcpp::Sym_write<size, big_endian> osym(ov); in write_local_symbols() local
2636 osym.put_st_name(sympool->get_offset(name)); in write_local_symbols()
2637 osym.put_st_value(this->local_values_[i].value(this, 0)); in write_local_symbols()
2638 osym.put_st_size(isym.get_st_size()); in write_local_symbols()
2639 osym.put_st_info(isym.get_st_info()); in write_local_symbols()
2640 osym.put_st_other(isym.get_st_other()); in write_local_symbols()
2641 osym.put_st_shndx(st_shndx); in write_local_symbols()
2650 elfcpp::Sym_write<size, big_endian> osym(dyn_ov); in write_local_symbols() local
2654 osym.put_st_name(dynpool->get_offset(name)); in write_local_symbols()
2655 osym.put_st_value(this->local_values_[i].value(this, 0)); in write_local_symbols()
[all …]
Dplugin.cc1062 elfcpp::Sym_write<size, big_endian> osym(symbuf); in do_add_symbols() local
1132 osym.put_st_name(0); in do_add_symbols()
1133 osym.put_st_value(0); in do_add_symbols()
1134 osym.put_st_size(0); in do_add_symbols()
1135 osym.put_st_info(bind, elfcpp::STT_NOTYPE); in do_add_symbols()
1136 osym.put_st_other(vis, 0); in do_add_symbols()
1137 osym.put_st_shndx(shndx); in do_add_symbols()
Dmips.cc3211 elfcpp::Sym_write<size, big_endian> osym(view); in do_adjust_dyn_symbol() local
3237 osym.put_st_size(fn_stub->section_size()); in do_adjust_dyn_symbol()
3240 osym.put_st_value(value); in do_adjust_dyn_symbol()
3241 osym.put_st_other(elfcpp::elf_st_other(sym->visibility(), in do_adjust_dyn_symbol()
3250 osym.put_st_value(value | 1); in do_adjust_dyn_symbol()
3251 osym.put_st_other(elfcpp::elf_st_other(sym->visibility(), in do_adjust_dyn_symbol()
/toolchain/binutils/binutils-2.25/bfd/
Delflink.c9263 Elf_Internal_Sym osym; in elf_link_input_bfd() local
9368 memset (&osym, 0, sizeof (osym)); in elf_link_input_bfd()
9369 osym.st_info = ELF_ST_INFO (STB_LOCAL, STT_FILE); in elf_link_input_bfd()
9370 osym.st_shndx = SHN_ABS; in elf_link_input_bfd()
9371 if (!elf_link_output_sym (flinfo, input_bfd->filename, &osym, in elf_link_input_bfd()
9376 osym = *isym; in elf_link_input_bfd()
9379 osym.st_shndx = _bfd_elf_section_from_bfd_section (output_bfd, in elf_link_input_bfd()
9381 if (osym.st_shndx == SHN_BAD) in elf_link_input_bfd()
9391 osym.st_value += isec->output_offset; in elf_link_input_bfd()
9394 osym.st_value += isec->output_section->vma; in elf_link_input_bfd()
[all …]
Delf.c6736 elf_symbol_type *isym, *osym; in _bfd_elf_copy_private_symbol_data() local
6743 osym = elf_symbol_from (obfd, osymarg); in _bfd_elf_copy_private_symbol_data()
6747 && osym != NULL in _bfd_elf_copy_private_symbol_data()
6763 osym->internal_elf_sym.st_shndx = shndx; in _bfd_elf_copy_private_symbol_data()
Dbfd-in2.h6262 (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);