Home | History | Annotate | Download | only in src

Lines Matching refs:section_header

112                              const Shdr* section_header) {
114 VLOG(1) << " sh_addr = " << section_header->sh_addr;
115 VLOG(1) << " sh_offset = " << section_header->sh_offset;
116 VLOG(1) << " sh_size = " << section_header->sh_size;
117 VLOG(1) << " sh_entsize = " << section_header->sh_entsize;
118 VLOG(1) << " sh_addralign = " << section_header->sh_addralign;
199 auto section_header = ELF::getshdr(section);
200 std::string name = elf_strptr(elf, string_index, section_header->sh_name);
201 VerboseLogSectionHeader(name, section_header);
204 if (section_header->sh_type == SHT_REL || section_header->sh_type == SHT_ANDROID_REL) {
207 if (section_header->sh_type == SHT_RELA || section_header->sh_type == SHT_ANDROID_RELA) {
213 section_header->sh_size > 0) {
218 section_header->sh_type == SHT_ANDROID_REL ||
219 section_header->sh_type == SHT_ANDROID_RELA;
222 if (section_header->sh_offset == dynamic_program_header->p_offset) {
227 CHECK(section_header->sh_addralign <= kPreserveAlignment);
290 auto section_header = ELF::getshdr(section);
291 std::string name = elf_strptr(elf, string_index, section_header->sh_name);
293 if (section_header->sh_offset > hole_start) {
294 section_header->sh_offset += hole_size;
296 << " sh_offset adjusted to " << section_header->sh_offset;
298 section_header->sh_addr -= hole_size;
300 << " sh_addr adjusted to " << section_header->sh_addr;
489 typename ELF::Shdr* section_header = ELF::getshdr(section);
491 if (section_header->sh_offset == dynamic_program_header->p_offset) {
586 auto section_header = ELF::getshdr(section);
587 std::string name = elf_strptr(elf, string_index, section_header->sh_name);
589 if (section_header->sh_size == new_size) {
596 CHECK(data->d_off == 0 && data->d_size == section_header->sh_size);
602 const auto hole_start = section_header->sh_offset;
616 section_header->sh_entsize << " -> " << new_entsize;
620 section_header->sh_size += hole_size;
621 section_header->sh_entsize = new_entsize;
622 section_header->sh_type = new_sh_type;
749 typename ELF::Shdr* section_header = ELF::getshdr(relocations_section_);
801 section_header = ELF::getshdr(relocations_section_);
805 dyn.d_un.d_ptr = section_header->sh_addr;
811 dyn.d_un.d_val = section_header->sh_size;
834 typename ELF::Shdr* section_header = ELF::getshdr(relocations_section_);
844 if ((section_header->sh_type == SHT_ANDROID_RELA || section_header->sh_type == SHT_ANDROID_REL) &&
887 typename ELF::Shdr* section_header = ELF::getshdr(relocations_section_);
919 dyn.d_un.d_ptr = section_header->sh_addr;
927 dyn.d_un.d_val = section_header->sh_size;