Home | History | Annotate | Download | only in gold

Lines Matching full:elfcpp

28 #include "elfcpp.h"
154 oview[1] = elfcpp::DW_EH_PE_pcrel | elfcpp::DW_EH_PE_sdata4;
159 elfcpp::Swap<32, big_endian>::writeval(oview + 4, eh_frame_offset);
167 oview[2] = elfcpp::DW_EH_PE_omit;
168 oview[3] = elfcpp::DW_EH_PE_omit;
174 oview[2] = elfcpp::DW_EH_PE_udata4;
175 oview[3] = elfcpp::DW_EH_PE_datarel | elfcpp::DW_EH_PE_sdata4;
177 elfcpp::Swap<32, big_endian>::writeval(oview + 8,
194 typename elfcpp::Elf_types<size>::Elf_Addr output_address;
202 elfcpp::Swap<32, big_endian>::writeval(pfde,
204 elfcpp::Swap<32, big_endian>::writeval(pfde + 4,
221 typename elfcpp::Elf_types<size>::Elf_Addr
223 typename elfcpp::Elf_types<size>::Elf_Addr eh_frame_address,
232 typename elfcpp::Elf_types<size>::Elf_Addr pc;
233 bool is_signed = (fde_encoding & elfcpp::DW_EH_PE_signed) != 0;
235 if (pc_size == elfcpp::DW_EH_PE_absptr)
238 pc_size = elfcpp::DW_EH_PE_udata4;
240 pc_size = elfcpp::DW_EH_PE_udata8;
247 case elfcpp::DW_EH_PE_udata2:
248 pc = elfcpp::Swap<16, big_endian>::readval(p);
253 case elfcpp::DW_EH_PE_udata4:
254 pc = elfcpp::Swap<32, big_endian>::readval(p);
259 case elfcpp::DW_EH_PE_udata8:
261 pc = elfcpp::Swap_unaligned<64, big_endian>::readval(p);
274 case elfcpp::DW_EH_PE_pcrel:
278 case elfcpp::DW_EH_PE_datarel:
288 gold_assert((fde_encoding & elfcpp::DW_EH_PE_indirect) == 0);
305 typename elfcpp::Elf_types<size>::Elf_Addr eh_frame_address;
316 typename elfcpp::Elf_types<size>::Elf_Addr fde_pc;
353 elfcpp::Swap<32, big_endian>::writeval(oview + offset,
359 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 4,
384 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 8, spoffset);
385 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 12, upsize);
471 elfcpp::Swap<32, big_endian>::writeval(oview + offset,
475 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 4, 0);
594 && elfcpp::Swap<32, big_endian>::readval(pcontents) == 0)
668 unsigned int len = elfcpp::Swap<32, big_endian>::readval(p);
691 unsigned int id = elfcpp::Swap<32, big_endian>::readval(p);
798 unsigned char fde_encoding = elfcpp::DW_EH_PE_absptr;
816 case elfcpp::DW_EH_PE_absptr:
817 case elfcpp::DW_EH_PE_udata2:
818 case elfcpp::DW_EH_PE_udata4:
819 case elfcpp::DW_EH_PE_udata8:
845 case elfcpp::DW_EH_PE_udata2:
848 case elfcpp::DW_EH_PE_udata4:
851 case elfcpp::DW_EH_PE_udata8:
854 case elfcpp::DW_EH_PE_absptr:
861 if ((per_encoding & 0xf0) == elfcpp::DW_EH_PE_aligned)
906 const int sym_size = elfcpp::Elf_sizes<size>::sym_size;
909 elfcpp::Sym<size, big_endian> sym(symbols
1014 const int sym_size = elfcpp::Elf_sizes<size>::sym_size;
1017 elfcpp::Sym<size, big_endian> sym(symbols + symndx * sym_size);
1023 && fde_shndx != elfcpp::SHN_UNDEF
1047 Cie cie(NULL, 0, 0, elfcpp::DW_EH_PE_pcrel | elfcpp::DW_EH_PE_sdata4, "",