/external/elfcopy/ |
D | hash.c | 8 Elf32_Word nbuckets, in setup_hash() 9 Elf32_Word nchains) in setup_hash() 14 hash_data->d_buf = CALLOC(hash_data->d_size, sizeof(Elf32_Word)); in setup_hash() 15 hash_data->d_size *= sizeof(Elf32_Word); in setup_hash() 16 ((Elf32_Word *)hash_data->d_buf)[0] = nbuckets; in setup_hash() 17 ((Elf32_Word *)hash_data->d_buf)[1] = nchains; in setup_hash() 24 Elf32_Word *buckets = (Elf32_Word *)hash_data->d_buf; in add_to_hash() 25 Elf32_Word nbuckets = *buckets++; in add_to_hash() 26 Elf32_Word *chains = ++buckets + nbuckets; in add_to_hash() 27 Elf32_Word last_chain_index; in add_to_hash() [all …]
|
D | hash.h | 9 Elf32_Word nbuckets, 10 Elf32_Word nchains);
|
D | elfcopy.h | 39 Elf32_Word idx; 52 Elf32_Word *newsymidx;
|
D | elfcopy.c | 40 Elf32_Word *newsymidx); 50 Elf32_Word hash_scn_idx, 375 (Elf32_Word *)CALLOC(shdr_info[cnt].data->d_size / elsize, in adjust_elf() 376 sizeof (Elf32_Word)); in adjust_elf() 394 Elf32_Word sec; /* index of section a symbol refers to */ in adjust_elf() 395 Elf32_Word xshndx; /* extended-section index of symbol */ in adjust_elf() 478 Elf32_Word nxshndx; in adjust_elf() 553 shdr_info[cnt].newsymidx[inner] = (Elf32_Word)-1; in adjust_elf() 705 Elf32_Word *newsymidx = in adjust_elf() 738 Elf32_Word symtabidx = shdr_info[cnt].old_shdr.sh_link; in adjust_elf() [all …]
|
/external/grub/stage2/ |
D | i386-elf.h | 26 typedef unsigned long Elf32_Word; typedef 72 Elf32_Word e_version; /* use same as "EI_VERSION" above */ 76 Elf32_Word e_flags; /* flags */ 105 Elf32_Word sh_name; /* Section name (string tbl index) */ 106 Elf32_Word sh_type; /* Section type */ 107 Elf32_Word sh_flags; /* Section flags */ 110 Elf32_Word sh_size; /* Section size in bytes */ 111 Elf32_Word sh_link; /* Link to another section */ 112 Elf32_Word sh_info; /* Additional section information */ 113 Elf32_Word sh_addralign; /* Section alignment */ [all …]
|
/external/elfutils/src/ |
D | ld.h | 156 Elf32_Word outscnndx; 158 Elf32_Word allsectionsidx; 162 Elf32_Word grpid; 202 Elf32_Word symstridx; 204 Elf32_Word dynsymstridx; 213 Elf32_Word *symindirect; 214 Elf32_Word *dynsymindirect; 335 const Elf32_Word *); 347 void (*create_relocations) (struct ld_state *, const Elf32_Word *); 416 Elf32_Word symscndx; [all …]
|
D | strip.c | 382 Elf32_Word idx; /* Index in new file. */ in handle_elf() 383 Elf32_Word old_sh_link; /* Original value of shdr.sh_link. */ in handle_elf() 384 Elf32_Word symtab_idx; in handle_elf() 385 Elf32_Word version_idx; in handle_elf() 386 Elf32_Word group_idx; in handle_elf() 387 Elf32_Word group_cnt; in handle_elf() 390 Elf32_Word *newsymidx; in handle_elf() 595 Elf32_Word *grpref; in handle_elf() 605 grpref = (Elf32_Word *) shdr_info[cnt].data->d_buf; in handle_elf() 607 inner < shdr_info[cnt].data->d_size / sizeof (Elf32_Word); in handle_elf() [all …]
|
D | i386_ld.c | 55 const Elf32_Word *dblindirect) in elf_i386_relocate_section() 71 const Elf32_Word *symindirect; in elf_i386_relocate_section() 107 Elf32_Word si; in elf_i386_relocate_section() 109 Elf32_Word xndx; in elf_i386_relocate_section() 148 Elf32_Word toadd; in elf_i386_relocate_section() 352 ((Elf32_Word *) data->d_buf)[0] = shdr->sh_addr; in elf_i386_finalize_plt() 376 assert ((4 + cnt) * sizeof (Elf32_Word) <= data->d_size); in elf_i386_finalize_plt() 382 ((Elf32_Word *) data->d_buf)[3 + cnt] = pltentryaddr + 6; in elf_i386_finalize_plt() 634 const Elf32_Word *dblindirect) in elf_i386_create_relocations() 752 Elf32_Word symidx = symref[idx]->outdynsymidx; in elf_i386_create_relocations()
|
D | ldgeneric.c | 57 const Elf32_Word *dblindirect); 74 const Elf32_Word *dblindirect); 77 static void mark_section_used (struct scninfo *scninfo, Elf32_Word shndx, 586 Elf32_Word xndx; in check_definition() 743 find_section_group (struct usedfiles *fileinfo, Elf32_Word shndx, in find_section_group() 751 Elf32_Word *grpref; in find_section_group() 764 grpref = (Elf32_Word *) data->d_buf; in find_section_group() 765 cnt = data->d_size / sizeof (Elf32_Word); in find_section_group() 791 mark_section_group (struct usedfiles *fileinfo, Elf32_Word shndx, in mark_section_group() 797 Elf32_Word *grpref; in mark_section_group() [all …]
|
D | xelf.h | 31 # define XElf_Word Elf32_Word 32 # define XElf_Xword Elf32_Word 71 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0) 78 ((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2 142 case ELF_T_WORD: fsize = sizeof (Elf32_Word); break; \ 203 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0) 210 (((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2)
|
D | elflint.c | 539 Elf32_Word *grpdata; in check_scn_group() 554 if (data == NULL || data->d_size < sizeof (Elf32_Word)) in check_scn_group() 558 grpdata = (Elf32_Word *) data->d_buf; in check_scn_group() 559 for (inner = 1; inner < data->d_size / sizeof (Elf32_Word); ++inner) in check_scn_group() 560 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group() 610 Elf32_Word xndxscnidx = 0; in check_symtab() 639 Elf32_Word xndx; in check_symtab() 1504 if (shdr->sh_entsize != sizeof (Elf32_Word)) in check_symtab_shndx() 1539 if (*((Elf32_Word *) data->d_buf) != 0) in check_symtab_shndx() 1542 for (cnt = 1; cnt < data->d_size / sizeof (Elf32_Word); ++cnt) in check_symtab_shndx() [all …]
|
D | readelf.c | 924 Elf32_Word *grpref; in handle_scngrp() 940 if (data == NULL || data->d_size < sizeof (Elf32_Word) || symshdr == NULL in handle_scngrp() 949 grpref = (Elf32_Word *) data->d_buf; in handle_scngrp() 956 data->d_size / sizeof (Elf32_Word) - 1) in handle_scngrp() 960 data->d_size / sizeof (Elf32_Word) - 1), in handle_scngrp() 966 data->d_size / sizeof (Elf32_Word) - 1); in handle_scngrp() 968 for (cnt = 1; cnt < data->d_size / sizeof (Elf32_Word); ++cnt) in handle_scngrp() 1395 Elf32_Word xndx; in handle_relocs_rel() 1538 Elf32_Word xndx; in handle_relocs_rela() 1637 Elf32_Word verneed_stridx = 0; in handle_symtab() [all …]
|
/external/elfutils/libelf/ |
D | elf.h | 34 typedef uint32_t Elf32_Word; typedef 71 Elf32_Word e_version; /* Object file version */ 75 Elf32_Word e_flags; /* Processor-specific flags */ 267 Elf32_Word sh_name; /* Section name (string tbl index) */ 268 Elf32_Word sh_type; /* Section type */ 269 Elf32_Word sh_flags; /* Section flags */ 272 Elf32_Word sh_size; /* Section size in bytes */ 273 Elf32_Word sh_link; /* Link to another section */ 274 Elf32_Word sh_info; /* Additional section information */ 275 Elf32_Word sh_addralign; /* Section alignment */ [all …]
|
D | gelf_getsymshndx.c | 36 Elf32_Word *dstshndx; 41 Elf32_Word shndx = 0; 60 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size)) 66 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
|
D | gelf_update_symshndx.c | 36 Elf32_Word srcshndx; 41 Elf32_Word *shndx = NULL; 69 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size)) 75 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
|
D | elf_getdata.c | 83 [SHT_GROUP] = { ELF_T_WORD, sizeof (Elf32_Word) \ 84 AL (__alignof__ (Elf32_Word)) }, \ 85 [SHT_SYMTAB_SHNDX] = { ELF_T_WORD, sizeof (Elf32_Word) \ 86 AL (__alignof__ (Elf32_Word)) }, \
|
D | gelf.h | 207 Elf32_Word *__xshndx); 213 Elf32_Word __xshndx);
|
/external/qemu/ |
D | elf.h | 11 typedef uint32_t Elf32_Word; typedef 908 Elf32_Word r_info; 918 Elf32_Word r_info; 929 Elf32_Word st_name; 931 Elf32_Word st_size; 953 Elf32_Word e_version; 957 Elf32_Word e_flags; 990 Elf32_Word p_type; 994 Elf32_Word p_filesz; 995 Elf32_Word p_memsz; [all …]
|
/external/elfutils/libdw/ |
D | dwarf_begin_elf.c | 157 Elf32_Word *scnidx = (Elf32_Word *) data->d_buf; in scngrp_read() 159 for (cnt = 1; cnt * sizeof (Elf32_Word) <= data->d_size; ++cnt) in scngrp_read()
|
/external/elfutils/libasm/ |
D | asm_end.c | 177 Elf32_Word ndx; in binary_end() 221 shdr->sh_entsize = sizeof (Elf32_Word); in binary_end() 222 shdr->sh_addralign = sizeof (Elf32_Word); in binary_end() 306 Elf32_Word *grpdata; in binary_end()
|
D | asm_newscngrp.c | 33 Elf32_Word flags;
|
D | libasm.h | 74 AsmSym_t *signature, Elf32_Word flags);
|
D | libasmP.h | 216 Elf32_Word flags;
|
/external/icu4c/tools/genccode/ |
D | genccode.c | 672 (Elf32_Word)(2*sizeof(Elf32_Sym)), /* sh_size */ in writeObjectCode() 677 (Elf32_Word)(sizeof(Elf32_Sym)) /* sh_entsize */ in writeObjectCode() 697 (Elf32_Word)sizeof(entry), /* sh_size */ in writeObjectCode() 935 sectionHeaders32[4].sh_size=(Elf32_Word)size; in writeObjectCode() 937 symbols32[1].st_size=(Elf32_Word)size; in writeObjectCode()
|
/external/elfutils/tests/ |
D | update2.c | 112 phdr[0].p_align = sizeof (Elf32_Word); in main()
|