Lines Matching refs:view
421 write(unsigned char* view, section_size_type view_size, bool big_endian) in write() argument
422 { this->do_write(view, view_size, big_endian); } in write()
437 do_write(unsigned char* view, section_size_type view_size, bool big_endian) in do_write() argument
440 this->do_fixed_endian_write<true>(view, view_size); in do_write()
442 this->do_fixed_endian_write<false>(view, view_size); in do_write()
780 do_write(unsigned char* view, section_size_type view_size, bool big_endian) in do_write() argument
783 this->do_fixed_endian_v4bx_write<true>(view, view_size); in do_write()
785 this->do_fixed_endian_v4bx_write<false>(view, view_size); in do_write()
792 do_fixed_endian_v4bx_write(unsigned char* view, section_size_type) in do_fixed_endian_v4bx_write() argument
795 elfcpp::Swap<32, big_endian>::writeval(view, in do_fixed_endian_v4bx_write()
798 view += insns[0].size(); in do_fixed_endian_v4bx_write()
799 elfcpp::Swap<32, big_endian>::writeval(view, in do_fixed_endian_v4bx_write()
801 view += insns[1].size(); in do_fixed_endian_v4bx_write()
802 elfcpp::Swap<32, big_endian>::writeval(view, in do_fixed_endian_v4bx_write()
2284 unsigned char* view,
2314 unsigned char* view,
2330 unsigned char* view,
2503 do_adjust_elf_header(unsigned char* view, int len);
2898 const unsigned char* view,
3256 abs8(unsigned char* view, in abs8() argument
3261 Valtype* wv = reinterpret_cast<Valtype*>(view); in abs8()
3276 thm_abs5(unsigned char* view, in thm_abs5() argument
3282 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_abs5()
3295 abs12(unsigned char* view, in abs12() argument
3301 Valtype* wv = reinterpret_cast<Valtype*>(view); in abs12()
3314 abs16(unsigned char* view, in abs16() argument
3319 Valtype val = elfcpp::Swap_unaligned<16, big_endian>::readval(view); in abs16()
3323 elfcpp::Swap_unaligned<16, big_endian>::writeval(view, val); in abs16()
3333 abs32(unsigned char* view, in abs32() argument
3339 Valtype addend = elfcpp::Swap_unaligned<32, big_endian>::readval(view); in abs32()
3341 elfcpp::Swap_unaligned<32, big_endian>::writeval(view, x); in abs32()
3347 rel32(unsigned char* view, in rel32() argument
3354 Valtype addend = elfcpp::Swap_unaligned<32, big_endian>::readval(view); in rel32()
3356 elfcpp::Swap_unaligned<32, big_endian>::writeval(view, x); in rel32()
3362 thm_jump19(unsigned char* view, const Arm_relobj<big_endian>* object,
3368 thm_jump6(unsigned char* view, in thm_jump6() argument
3375 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_jump6()
3390 thm_jump8(unsigned char* view, in thm_jump8() argument
3396 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_jump8()
3410 thm_jump11(unsigned char* view, in thm_jump11() argument
3416 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_jump11()
3430 base_prel(unsigned char* view, in base_prel() argument
3434 Base::rel32(view, origin - address); in base_prel()
3440 base_abs(unsigned char* view, in base_abs() argument
3443 Base::rel32(view, origin); in base_abs()
3449 got_brel(unsigned char* view, in got_brel() argument
3452 Base::rel32(view, got_offset); in got_brel()
3458 got_prel(unsigned char* view, in got_prel() argument
3462 Base::rel32(view, got_entry - address); in got_prel()
3468 prel31(unsigned char* view, in prel31() argument
3475 Valtype val = elfcpp::Swap_unaligned<32, big_endian>::readval(view); in prel31()
3479 elfcpp::Swap_unaligned<32, big_endian>::writeval(view, val); in prel31()
3490 movw(unsigned char* view, in movw() argument
3498 Valtype* wv = reinterpret_cast<Valtype*>(view); in movw()
3514 movt(unsigned char* view, in movt() argument
3520 Valtype* wv = reinterpret_cast<Valtype*>(view); in movt()
3535 thm_movw(unsigned char* view, in thm_movw() argument
3544 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_movw()
3562 thm_movt(unsigned char* view, in thm_movt() argument
3569 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_movt()
3582 thm_alu11(unsigned char* view, in thm_alu11() argument
3590 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_alu11()
3636 thm_pc8(unsigned char* view, in thm_pc8() argument
3643 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_pc8()
3658 thm_pc12(unsigned char* view, in thm_pc12() argument
3665 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_pc12()
3692 unsigned char* view, in v4bx() argument
3699 Valtype* wv = reinterpret_cast<Valtype*>(view); in v4bx()
3743 arm_grp_alu(unsigned char* view, in arm_grp_alu() argument
3753 Valtype* wv = reinterpret_cast<Valtype*>(view); in arm_grp_alu()
3800 arm_grp_ldr(unsigned char* view, in arm_grp_ldr() argument
3808 Valtype* wv = reinterpret_cast<Valtype*>(view); in arm_grp_ldr()
3838 arm_grp_ldrs(unsigned char* view, in arm_grp_ldrs() argument
3846 Valtype* wv = reinterpret_cast<Valtype*>(view); in arm_grp_ldrs()
3876 arm_grp_ldc(unsigned char* view, in arm_grp_ldc() argument
3884 Valtype* wv = reinterpret_cast<Valtype*>(view); in arm_grp_ldc()
3919 unsigned char* view, in arm_branch_common() argument
3929 Valtype* wv = reinterpret_cast<Valtype*>(view); in arm_branch_common()
4048 unsigned char* view, in thumb_branch_common() argument
4058 Valtype* wv = reinterpret_cast<Valtype*>(view); in thumb_branch_common()
4212 unsigned char* view, in thm_jump19() argument
4219 Valtype* wv = reinterpret_cast<Valtype*>(view); in thm_jump19()
4454 Stub::do_fixed_endian_write(unsigned char* view, section_size_type view_size) in do_fixed_endian_write() argument
4460 unsigned char* pov = view; in do_fixed_endian_write()
4490 gold_assert(static_cast<section_size_type>(pov - view) == view_size); in do_fixed_endian_write()
4962 unsigned char* view, in relocate_stub() argument
4974 arm_target->relocate_stub(stub, relinfo, output_section, view + offset, in relocate_stub()
4987 unsigned char* view, in relocate_stubs() argument
5001 this->relocate_stub(p->second, relinfo, arm_target, output_section, view, in relocate_stubs()
5008 this->relocate_stub(p->second, relinfo, arm_target, output_section, view, in relocate_stubs()
5017 this->relocate_stub(*p, relinfo, arm_target, output_section, view, in relocate_stubs()
5237 unsigned char* view, in apply_cortex_a8_workaround_to_address_range() argument
5260 view + offset, branch_address); in apply_cortex_a8_workaround_to_address_range()
6624 gold_assert((*pviews)[i].view != NULL); in do_relocate_sections()
6634 unsigned char* view = (*pviews)[i].view + offset; in do_relocate_sections() local
6638 stub_table->relocate_stubs(&relinfo, arm_target, os, view, address, in do_relocate_sections()
6645 unsigned char* view = (*pviews)[i].view; in do_relocate_sections() local
6661 unsigned char* section_view = view + (section_address - view_address); in do_relocate_sections()
6877 const unsigned char* view = in do_read_symbols() local
6880 new Attributes_section_data(view, section_size); in do_read_symbols()
7139 const unsigned char* view = in do_read_symbols() local
7142 new Attributes_section_data(view, section_size); in do_read_symbols()
7156 const unsigned char* view, in operator ()() argument
7168 const Valtype* wv = reinterpret_cast<const Valtype*>(view); in operator ()()
7178 const Valtype* wv = reinterpret_cast<const Valtype*>(view); in operator ()()
7187 const Valtype* wv = reinterpret_cast<const Valtype*>(view); in operator ()()
9391 unsigned char* view, in relocate() argument
9395 if (view == NULL) in relocate()
9597 reloc_status = Arm_relocate_functions::abs8(view, object, psymval); in relocate()
9602 reloc_status = Arm_relocate_functions::abs12(view, object, psymval); in relocate()
9607 reloc_status = Arm_relocate_functions::abs16(view, object, psymval); in relocate()
9612 reloc_status = Arm_relocate_functions::abs32(view, object, psymval, in relocate()
9619 reloc_status = Arm_relocate_functions::abs32(view, object, psymval, in relocate()
9625 reloc_status = Arm_relocate_functions::movw(view, object, psymval, in relocate()
9632 reloc_status = Arm_relocate_functions::movt(view, object, psymval, 0); in relocate()
9637 reloc_status = Arm_relocate_functions::thm_movw(view, object, psymval, in relocate()
9643 reloc_status = Arm_relocate_functions::thm_movt(view, object, in relocate()
9651 Arm_relocate_functions::movw(view, object, psymval, in relocate()
9659 Arm_relocate_functions::movt(view, object, psymval, in relocate()
9667 Arm_relocate_functions::thm_movw(view, object, psymval, in relocate()
9675 Arm_relocate_functions::thm_movt(view, object, psymval, in relocate()
9680 reloc_status = Arm_relocate_functions::rel32(view, object, psymval, in relocate()
9686 reloc_status = Arm_relocate_functions::thm_abs5(view, object, psymval); in relocate()
9695 r_type, relinfo, view, gsym, object, r_sym, psymval, address, in relocate()
9703 reloc_status = Arm_relocate_functions::rel32(view, object, psymval, in relocate()
9711 Arm_relocate_functions::base_prel(view, sym_origin, address); in relocate()
9716 reloc_status = Arm_relocate_functions::base_abs(view, sym_origin); in relocate()
9721 reloc_status = Arm_relocate_functions::got_brel(view, got_offset); in relocate()
9731 reloc_status = Arm_relocate_functions::got_prel(view, in relocate()
9748 r_type, relinfo, view, gsym, object, r_sym, psymval, address, in relocate()
9754 Arm_relocate_functions::thm_jump19(view, object, psymval, address, in relocate()
9760 Arm_relocate_functions::thm_jump6(view, object, psymval, address); in relocate()
9765 Arm_relocate_functions::thm_jump8(view, object, psymval, address); in relocate()
9770 Arm_relocate_functions::thm_jump11(view, object, psymval, address); in relocate()
9774 reloc_status = Arm_relocate_functions::prel31(view, object, psymval, in relocate()
9784 Arm_relocate_functions::v4bx(relinfo, view, object, address, in relocate()
9791 Arm_relocate_functions::thm_pc8(view, object, psymval, address); in relocate()
9796 Arm_relocate_functions::thm_pc12(view, object, psymval, address); in relocate()
9801 Arm_relocate_functions::thm_alu11(view, object, psymval, address, in relocate()
9816 Arm_relocate_functions::arm_grp_alu(view, object, psymval, in relocate()
9829 Arm_relocate_functions::arm_grp_ldr(view, object, psymval, in relocate()
9841 Arm_relocate_functions::arm_grp_ldrs(view, object, psymval, in relocate()
9853 Arm_relocate_functions::arm_grp_ldc(view, object, psymval, in relocate()
9867 view, address, view_size); in relocate()
9918 unsigned char* view, in relocate_tls() argument
9960 RelocFuncs::pcrel32_unaligned(view, got_entry, address); in relocate_tls()
9979 RelocFuncs::pcrel32_unaligned(view, got_entry, address); in relocate_tls()
9985 RelocFuncs::rel32_unaligned(view, value); in relocate_tls()
10014 RelocFuncs::pcrel32_unaligned(view, got_entry, address); in relocate_tls()
10030 RelocFuncs::rel32_unaligned(view, value + aligned_tcb_size); in relocate_tls()
10056 unsigned char* view, in relocate_section() argument
10081 view += offset; in relocate_section()
10095 view, in relocate_section()
10175 unsigned char* view, in relocate_relocs() argument
10190 view, in relocate_relocs()
10209 unsigned char* view, in relocate_special_relocatable() argument
10309 unsigned char* paddend = view + offset; in relocate_special_relocatable()
10585 unsigned char* view, in do_adjust_elf_header() argument
10590 elfcpp::Ehdr<32, big_endian> ehdr(view); in do_adjust_elf_header()
10619 elfcpp::Ehdr_write<32, big_endian> oehdr(view); in do_adjust_elf_header()
11802 const unsigned char* view, in scan_reloc_section_for_stubs() argument
11858 reinterpret_cast<const Valtype*>(view + offset); in scan_reloc_section_for_stubs()
11886 stub_addend_reader(r_type, view + offset, reloc); in scan_reloc_section_for_stubs()
12038 const unsigned char* view, in scan_section_for_stubs() argument
12049 view, in scan_section_for_stubs()
12061 view, in scan_section_for_stubs()
12317 unsigned char* view, in relocate_stub() argument
12349 NULL, &symval, view + reloc_offset, in relocate_stub()
12411 const unsigned char* view, in scan_span_for_cortex_a8_erratum() argument
12427 const Valtype* wv = reinterpret_cast<const Valtype*>(view + i); in scan_span_for_cortex_a8_erratum()