Home
last modified time | relevance | path

Searched refs:Elf32_Word (Results 1 – 25 of 33) sorted by relevance

12

/external/elfcopy/
Dhash.c8 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 …]
Dhash.h9 Elf32_Word nbuckets,
10 Elf32_Word nchains);
Delfcopy.c40 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 …]
Delfcopy.h39 Elf32_Word idx;
52 Elf32_Word *newsymidx;
/external/grub/stage2/
Di386-elf.h26 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/kernel-headers/original/linux/
Delf.h21 typedef __u32 Elf32_Word; typedef
132 Elf32_Word r_info;
142 Elf32_Word r_info;
153 Elf32_Word st_name;
155 Elf32_Word st_size;
177 Elf32_Word e_version;
181 Elf32_Word e_flags;
214 Elf32_Word p_type;
218 Elf32_Word p_filesz;
219 Elf32_Word p_memsz;
[all …]
/external/elfutils/src/
Dld.h156 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 …]
Dstrip.c382 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 …]
Di386_ld.c55 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()
Dldgeneric.c57 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 …]
Dxelf.h31 # 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)
Delflint.c539 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 …]
Dreadelf.c924 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/
Delf.h34 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 …]
Dgelf_getsymshndx.c36 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];
Dgelf_update_symshndx.c36 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];
Delf_getdata.c83 [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)) }, \
Dgelf.h207 Elf32_Word *__xshndx);
213 Elf32_Word __xshndx);
/external/qemu/
Delf.h11 typedef uint32_t Elf32_Word; typedef
912 Elf32_Word r_info;
922 Elf32_Word r_info;
933 Elf32_Word st_name;
935 Elf32_Word st_size;
957 Elf32_Word e_version;
961 Elf32_Word e_flags;
994 Elf32_Word p_type;
998 Elf32_Word p_filesz;
999 Elf32_Word p_memsz;
[all …]
/external/elfutils/libdw/
Ddwarf_begin_elf.c157 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/
Dasm_end.c177 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()
Dasm_newscngrp.c33 Elf32_Word flags;
Dlibasm.h74 AsmSym_t *signature, Elf32_Word flags);
/external/chromium/third_party/icu/source/tools/toolutil/
Dpkg_genc.c780 (Elf32_Word)(2*sizeof(Elf32_Sym)), /* sh_size */ in writeObjectCode()
785 (Elf32_Word)(sizeof(Elf32_Sym)) /* sh_entsize */ in writeObjectCode()
805 (Elf32_Word)sizeof(entry), /* sh_size */ in writeObjectCode()
1046 sectionHeaders32[4].sh_size=(Elf32_Word)size; in writeObjectCode()
1048 symbols32[1].st_size=(Elf32_Word)size; in writeObjectCode()
/external/icu4c/tools/toolutil/
Dpkg_genc.c780 (Elf32_Word)(2*sizeof(Elf32_Sym)), /* sh_size */ in writeObjectCode()
785 (Elf32_Word)(sizeof(Elf32_Sym)) /* sh_entsize */ in writeObjectCode()
805 (Elf32_Word)sizeof(entry), /* sh_size */ in writeObjectCode()
1046 sectionHeaders32[4].sh_size=(Elf32_Word)size; in writeObjectCode()
1048 symbols32[1].st_size=(Elf32_Word)size; in writeObjectCode()

12