Home
last modified time | relevance | path

Searched refs:is_ordinary (Results 1 – 25 of 25) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/testsuite/
Dbinary_unittest.cc125 bool is_ordinary; in Sized_binary_test() local
126 CHECK(relobj->symbol_section_and_value(0, &value, &is_ordinary) == 0); in Sized_binary_test()
127 CHECK(is_ordinary); in Sized_binary_test()
129 CHECK(relobj->symbol_section_and_value(1, &value, &is_ordinary) == 1); in Sized_binary_test()
130 CHECK(is_ordinary); in Sized_binary_test()
132 CHECK(relobj->symbol_section_and_value(2, &value, &is_ordinary) == 1); in Sized_binary_test()
133 CHECK(is_ordinary); in Sized_binary_test()
135 CHECK(relobj->symbol_section_and_value(3, &value, &is_ordinary) in Sized_binary_test()
137 CHECK(!is_ordinary); in Sized_binary_test()
/toolchain/binutils/binutils-2.25/gold/
Dresolve.cc91 unsigned int st_shndx, bool is_ordinary, in override_base() argument
98 this->is_ordinary_shndx_ = is_ordinary; in override_base()
117 unsigned st_shndx, bool is_ordinary, in override() argument
120 this->override_base(sym, st_shndx, is_ordinary, object, version); in override()
132 unsigned int st_shndx, bool is_ordinary, in override() argument
135 tosym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
143 ssym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
176 unsigned int shndx, bool is_ordinary, elfcpp::STT type) in symbol_to_bits() argument
216 if (!is_ordinary) in symbol_to_bits()
223 else if (!is_ordinary && Symbol::is_common_shndx(shndx)) in symbol_to_bits()
[all …]
Dgc.h244 bool is_ordinary; in gc_process_relocs() local
245 dst_indx = src_obj->adjust_sym_shndx(r_sym, dst_indx, &is_ordinary); in gc_process_relocs()
252 if (is_ordinary) in gc_process_relocs()
270 if (is_ordinary in gc_process_relocs()
280 if (!is_ordinary || dst_indx == src_indx) in gc_process_relocs()
292 bool is_ordinary = false; in gc_process_relocs() local
296 dst_indx = gsym->shndx(&is_ordinary); in gc_process_relocs()
306 && (!is_ordinary in gc_process_relocs()
328 if (is_ordinary && gsym->source() == Symbol::FROM_OBJECT) in gc_process_relocs()
346 if (!is_ordinary) in gc_process_relocs()
Dsymtab.cc117 unsigned int st_shndx, bool is_ordinary) in init_base_object() argument
123 this->is_ordinary_shndx_ = is_ordinary; in init_base_object()
219 unsigned int st_shndx, bool is_ordinary) in init_object() argument
221 this->init_base_object(name, version, object, sym, st_shndx, is_ordinary); in init_object()
358 bool is_ordinary; in should_add_dynsym_entry() local
359 unsigned int shndx = this->shndx(&is_ordinary); in should_add_dynsym_entry()
360 if (is_ordinary && shndx != elfcpp::SHN_UNDEF in should_add_dynsym_entry()
651 bool is_ordinary; in gc_mark_symbol() local
652 unsigned int shndx = sym->shndx(&is_ordinary); in gc_mark_symbol()
653 if (is_ordinary && shndx != elfcpp::SHN_UNDEF) in gc_mark_symbol()
[all …]
Dsymtab.h163 shndx(bool* is_ordinary) const in shndx() argument
166 *is_ordinary = this->is_ordinary_shndx_; in shndx()
489 bool is_ordinary; in is_defined() local
492 unsigned int shndx = this->shndx(&is_ordinary); in is_defined()
493 return (is_ordinary in is_defined()
516 bool is_ordinary; in is_undefined() local
518 && this->shndx(&is_ordinary) == elfcpp::SHN_UNDEF in is_undefined()
519 && is_ordinary) in is_undefined()
547 bool is_ordinary; in is_absolute() local
549 && this->shndx(&is_ordinary) == elfcpp::SHN_ABS in is_absolute()
[all …]
Dtarget-reloc.h82 bool is_ordinary; in scan_relocs() local
83 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_relocs()
97 bool is_discarded = (is_ordinary in scan_relocs()
320 bool is_ordinary; in relocate_section() local
321 shndx = psymval->input_shndx(&is_ordinary); in relocate_section()
323 (is_ordinary in relocate_section()
581 bool is_ordinary; in scan_relocatable_relocs() local
582 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_relocatable_relocs()
583 if (is_ordinary in scan_relocatable_relocs()
697 bool is_ordinary; in relocate_relocs() local
[all …]
Dcopy-relocs.cc125 bool is_ordinary; in make_copy_reloc() local
126 unsigned int shndx = sym->shndx(&is_ordinary); in make_copy_reloc()
127 gold_assert(is_ordinary); in make_copy_reloc()
Dmapfile.cc212 bool is_ordinary; in print_input_section_symbols() local
216 && sym->shndx(&is_ordinary) == shndx in print_input_section_symbols()
217 && is_ordinary in print_input_section_symbols()
Dobject.h503 adjust_sym_shndx(unsigned int symndx, unsigned int shndx, bool* is_ordinary) in adjust_sym_shndx() argument
506 *is_ordinary = true; in adjust_sym_shndx()
512 *is_ordinary = true; in adjust_sym_shndx()
515 *is_ordinary = false; in adjust_sym_shndx()
1759 set_input_shndx(unsigned int i, bool is_ordinary) in set_input_shndx() argument
1765 this->is_ordinary_shndx_ = is_ordinary; in set_input_shndx()
1770 input_shndx(bool* is_ordinary) const in input_shndx() argument
1772 *is_ordinary = this->is_ordinary_shndx_; in input_shndx()
2114 symbol_section_and_value(unsigned int sym, Address* value, bool* is_ordinary);
2145 local_symbol_input_shndx(unsigned int sym, bool* is_ordinary) const in local_symbol_input_shndx() argument
[all …]
Dobject.cc870 bool* is_ordinary) in symbol_section_and_value() argument
883 return this->adjust_sym_shndx(sym, elfsym.get_st_shndx(), is_ordinary); in symbol_section_and_value()
962 bool is_ordinary; in include_section_group() local
965 &is_ordinary); in include_section_group()
966 if (!is_ordinary || sym_shndx >= this->shnum()) in include_section_group()
2145 bool is_ordinary; in do_count_local_symbols() local
2147 &is_ordinary); in do_count_local_symbols()
2148 lv.set_input_shndx(shndx, is_ordinary); in do_count_local_symbols()
2259 bool is_ordinary; in compute_final_local_value_internal() local
2260 unsigned int shndx = lv_in->input_shndx(&is_ordinary); in compute_final_local_value_internal()
[all …]
Dicf.cc791 bool is_ordinary; in find_identical_sections() local
792 unsigned int shndx = sym->shndx(&is_ordinary); in find_identical_sections()
793 if (is_ordinary) in find_identical_sections()
Dehframe.cc1018 bool is_ordinary; in read_fde() local
1020 &is_ordinary); in read_fde()
1022 if (is_ordinary in read_fde()
Dpowerpc.cc199 bool is_ordinary; in do_adjust_local_symbol() local
200 if (lv->input_shndx(&is_ordinary) != this->opd_shndx()) in do_adjust_local_symbol()
1785 bool is_ordinary; in scan_opd_relocs() local
1792 shndx = this->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_opd_relocs()
1797 &is_ordinary); in scan_opd_relocs()
2678 bool is_ordinary; in make_stub() local
2679 unsigned int shndx = gsym->shndx(&is_ordinary); in make_stub()
5591 bool is_ordinary; in local() local
5593 &is_ordinary); in local()
5594 if (!is_ordinary) in local()
[all …]
Darm.cc6555 bool is_ordinary; in do_count_local_symbols() local
6557 this->adjust_sym_shndx(i, sym.get_st_shndx(), &is_ordinary); in do_count_local_symbols()
6558 gold_assert(is_ordinary); in do_count_local_symbols()
6742 bool is_ordinary; in find_linked_text_section() local
6744 this->adjust_sym_shndx(r_sym, sym.get_st_shndx(), &is_ordinary); in find_linked_text_section()
6745 gold_assert(is_ordinary); in find_linked_text_section()
7067 bool is_ordinary; in update_output_local_symbol_count() local
7069 &is_ordinary); in update_output_local_symbol_count()
7286 bool is_ordinary; in do_write() local
7287 unsigned int shndx = psymval->input_shndx(&is_ordinary); in do_write()
[all …]
Ddwarf_reader.cc59 unsigned int symndx, Address* value, bool* is_ordinary) in symbol_section() argument
66 is_ordinary); in symbol_section()
82 bool is_ordinary; in do_get_reloc_target() local
84 &is_ordinary); in do_get_reloc_target()
85 if (!is_ordinary) in do_get_reloc_target()
Dincremental.cc1636 bool is_ordinary; in write_info_blocks() local
1637 unsigned int orig_shndx = sym->shndx(&is_ordinary); in write_info_blocks()
1638 if (is_ordinary) in write_info_blocks()
2605 bool is_ordinary; in do_relocate() local
2607 &is_ordinary); in do_relocate()
2608 if (is_ordinary) in do_relocate()
Di386.cc1826 bool is_ordinary; in local() local
1828 &is_ordinary); in local()
1829 if (!is_ordinary) in local()
1948 bool is_ordinary; in local() local
1949 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in local()
1950 if (!is_ordinary) in local()
Dreloc.cc1417 bool is_ordinary; in find_functions() local
1419 &is_ordinary); in find_functions()
1420 if (!is_ordinary || sym_shndx != shndx) in find_functions()
Dx86_64.cc2423 bool is_ordinary; in local() local
2425 &is_ordinary); in local()
2426 if (!is_ordinary) in local()
2549 bool is_ordinary; in local() local
2550 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in local()
2551 if (!is_ordinary) in local()
Daarch64.cc499 bool is_ordinary; in do_write() local
500 unsigned int shndx = psymval->input_shndx(&is_ordinary); in do_write()
502 || (is_ordinary in do_write()
1921 bool is_ordinary; in do_count_local_symbols() local
1923 this->adjust_sym_shndx(i, sym.get_st_shndx(), &is_ordinary); in do_count_local_symbols()
1924 gold_assert(is_ordinary); in do_count_local_symbols()
3845 bool is_ordinary; in scan_reloc_section_for_stubs() local
3846 shndx = psymval->input_shndx(&is_ordinary); in scan_reloc_section_for_stubs()
3848 (is_ordinary in scan_reloc_section_for_stubs()
Ddwarf_reader.h153 symbol_section(unsigned int symndx, Address* value, bool* is_ordinary);
Dmips.cc5735 bool is_ordinary; in do_write() local
5736 unsigned int shndx = psymval->input_shndx(&is_ordinary); in do_write()
5738 || (is_ordinary in do_write()
8475 bool is_ordinary; in relocate_special_relocatable() local
8476 unsigned int shndx = object->local_symbol_input_shndx(r_sym, &is_ordinary); in relocate_special_relocatable()
8477 gold_assert(is_ordinary); in relocate_special_relocatable()
8856 bool is_ordinary; in local() local
8857 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in local()
8858 if (!is_ordinary) in local()
Dtilegx.cc3470 bool is_ordinary; in local() local
3472 &is_ordinary); in local()
3473 if (!is_ordinary) in local()
Dsparc.cc2428 bool is_ordinary; in local() local
2429 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in local()
2430 if (!is_ordinary) in local()
DChangeLog11917 * symtab.cc (add_from_pluginobj): Pass correct value for is_ordinary.
15696 (Sized_relobj::symbol_section_and_value): Add is_ordinary
15719 (Symbol_value::set_input_shndx): Add is_ordinary parameter.
15721 (Symbol_value::input_shndx): Add is_ordinary parameter. Change
15724 (Sized_relobj::local_symbol_input_shndx): Add is_ordinary
15775 (Symbol::init_base): Add st_shndx and is_ordinary parameters.
15780 st_shndx, is_ordinary, and orig_st_shndx parameters. Change all
15801 (Symbol::shndx): Add is_ordinary parameter. Change all callers.
15802 (Symbol::is_defined): Check is_ordinary.
15807 * resolve.cc (Symbol::override_base): Add st_shndx and is_ordinary
[all …]