Lines Matching refs:dynamic_headers
442 llvm::ELF::Elf32_Dyn dynamic_headers[DH_NUM]; in Write() local
443 memset(&dynamic_headers, 0, sizeof(dynamic_headers)); in Write()
445 dynamic_headers[DH_SONAME].d_tag = llvm::ELF::DT_SONAME; in Write()
446 dynamic_headers[DH_SONAME].d_un.d_val = dynstr_soname_offset; in Write()
448 dynamic_headers[DH_HASH].d_tag = llvm::ELF::DT_HASH; in Write()
449 dynamic_headers[DH_HASH].d_un.d_ptr = hash_offset; in Write()
451 dynamic_headers[DH_SYMTAB].d_tag = llvm::ELF::DT_SYMTAB; in Write()
452 dynamic_headers[DH_SYMTAB].d_un.d_ptr = dynsym_offset; in Write()
454 dynamic_headers[DH_SYMENT].d_tag = llvm::ELF::DT_SYMENT; in Write()
455 dynamic_headers[DH_SYMENT].d_un.d_val = sizeof(llvm::ELF::Elf32_Sym); in Write()
457 dynamic_headers[DH_STRTAB].d_tag = llvm::ELF::DT_STRTAB; in Write()
458 dynamic_headers[DH_STRTAB].d_un.d_ptr = dynstr_offset; in Write()
460 dynamic_headers[DH_STRSZ].d_tag = llvm::ELF::DT_STRSZ; in Write()
461 dynamic_headers[DH_STRSZ].d_un.d_val = dynstr_size; in Write()
463 dynamic_headers[DH_NULL].d_tag = llvm::ELF::DT_NULL; in Write()
464 dynamic_headers[DH_NULL].d_un.d_val = 0; in Write()
636 if (!elf_file_->WriteFully(&dynamic_headers[0], dynamic_size)) { in Write()