Home | History | Annotate | Download | only in gold

Lines Matching refs:elfcpp

26 #include "elfcpp.h"
60 const int sym_size = elfcpp::Elf_sizes<size>::sym_size;
72 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info();
73 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info);
74 unsigned int r_type = elfcpp::elf_r_type<size>(r_info);
79 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms
98 && shndx != elfcpp::SHN_UNDEF
155 case elfcpp::STV_INTERNAL:
158 case elfcpp::STV_HIDDEN:
161 case elfcpp::STV_PROTECTED:
214 if (sym->visibility() == elfcpp::STV_HIDDEN)
268 typename elfcpp::Elf_types<size>::Elf_Addr view_address,
298 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info();
299 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info);
300 unsigned int r_type = elfcpp::elf_r_type<size>(r_info);
324 && shndx != elfcpp::SHN_UNDEF
348 if (gsym->type() == elfcpp::STT_TLS)
350 else if (gsym->type() == elfcpp::STT_GNU_IFUNC)
376 typename elfcpp::Elf_types<size>::Elf_Addr value =
419 && sym->visibility() != elfcpp::STV_DEFAULT
435 typename elfcpp::Elf_types<size>::Elf_Addr r_offset,
437 typename elfcpp::Elf_types<size>::Elf_Swxword r_addend,
440 typename elfcpp::Elf_types<size>::Elf_Addr address,
444 const int reloc_size = elfcpp::Elf_sizes<size>::rela_size;
446 elfcpp::Rela<size, big_endian> rel(relbuf);
447 elfcpp::Rela_write<size, big_endian> orel(relbuf);
449 orel.put_r_info(elfcpp::elf_r_info<size>(0, r_type));
458 if (gsym->type() == elfcpp::STT_TLS)
460 else if (gsym->type() == elfcpp::STT_GNU_IFUNC)
497 if (sh_type == elfcpp::SHT_RELA)
553 const int sym_size = elfcpp::Elf_sizes<size>::sym_size;
568 typename elfcpp::Elf_types<size>::Elf_WXword r_info =
570 const unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info);
571 const unsigned int r_type = elfcpp::elf_r_type<size>(r_info);
578 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms
584 && shndx != elfcpp::SHN_UNDEF
592 else if (lsym.get_st_type() != elfcpp::STT_SECTION)
621 typename elfcpp::Elf_types<size>::Elf_Off offset_in_output_section,
624 typename elfcpp::Elf_types<size>::Elf_Addr view_address,
629 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address;
663 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info();
664 const unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info);
665 const unsigned int r_type = elfcpp::elf_r_type<size>(r_info);
752 reloc_write.put_r_info(elfcpp::elf_r_info<size>(new_symndx, r_type));
758 if (sh_type == elfcpp::SHT_RELA)
780 typename elfcpp::Elf_types<size>::Elf_Swxword addend;