Searched refs:entsize (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-11-stable/contrib/binutils/bfd/
H A Dmerge.c68 unsigned int entsize; member in struct:sec_merge_hash
148 if (table->entsize == 1)
162 for (i = 0; i < table->entsize; ++i)
165 if (i == table->entsize)
167 for (i = 0; i < table->entsize; ++i)
176 len *= table->entsize;
179 len += table->entsize;
183 for (i = 0; i < table->entsize; ++i)
189 len = table->entsize;
237 sec_merge_init (unsigned int entsize, bfd_boolea argument
[all...]
H A Dhash.c363 unsigned int entsize,
384 table->entsize = entsize;
398 unsigned int entsize)
400 return bfd_hash_table_init_n (table, newfunc, entsize,
359 bfd_hash_table_init_n(struct bfd_hash_table *table, struct bfd_hash_entry *(*newfunc) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int entsize, unsigned int size) argument
394 bfd_hash_table_init(struct bfd_hash_table *table, struct bfd_hash_entry *(*newfunc) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int entsize) argument
H A Delf64-sparc.c62 int entsize; local
78 entsize = rel_hdr->sh_entsize;
79 BFD_ASSERT (entsize == sizeof (Elf64_External_Rela));
81 count = rel_hdr->sh_size / entsize;
84 i++, relent++, native_relocs += entsize)
H A Delf64-mips.c2426 int entsize;
2440 entsize = rel_hdr->sh_entsize;
2441 BFD_ASSERT (entsize == sizeof (Elf64_Mips_External_Rel)
2442 || entsize == sizeof (Elf64_Mips_External_Rela));
2444 if (entsize == sizeof (Elf64_Mips_External_Rel))
2451 i++, native_relocs += entsize)
2457 if (entsize == sizeof (Elf64_Mips_External_Rela))
2421 int entsize; local
H A Delfcode.h1364 int entsize;
1378 entsize = rel_hdr->sh_entsize;
1379 BFD_ASSERT (entsize == sizeof (Elf_External_Rel)
1380 || entsize == sizeof (Elf_External_Rela));
1389 i++, relent++, native_relocs += entsize)
1393 if (entsize == sizeof (Elf_External_Rela))
1427 if ((entsize == sizeof (Elf_External_Rela)
1361 int entsize; local
H A Dbfd-in.h432 unsigned int entsize;
426 unsigned int entsize; member in struct:bfd_hash_table
H A Dlinker.c477 unsigned int entsize)
484 return bfd_hash_table_init (&table->table, newfunc, entsize);
911 unsigned int entsize)
913 return bfd_hash_table_init (&table->table, newfunc, entsize);
471 _bfd_link_hash_table_init(struct bfd_link_hash_table *table, bfd *abfd, struct bfd_hash_entry *(*newfunc) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int entsize) argument
903 archive_hash_table_init(struct archive_hash_table *table, struct bfd_hash_entry *(*newfunc) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int entsize) argument
H A Delflink.c3704 size_t entsize;
3706 for (entsize = 0, i = 0; i < htab->root.table.size; i++)
3714 entsize += htab->root.table.entsize;
3716 entsize += htab->root.table.entsize;
3722 old_tab = bfd_malloc (tabsize + entsize + hashsize);
3759 memcpy (old_ent, p, htab->root.table.entsize);
3760 old_ent = (char *) old_ent + htab->root.table.entsize;
3764 memcpy (old_ent, h->root.u.i.link, htab->root.table.entsize);
3695 size_t entsize; local
[all...]
H A Dcoff-ppc.c186 unsigned int entsize)
188 return _bfd_coff_link_hash_table_init (&table->root, abfd, newfunc, entsize);
181 ppc_coff_link_hash_table_init(struct ppc_coff_link_hash_table *table, bfd *abfd, struct bfd_hash_entry *(*newfunc) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *), unsigned int entsize) argument
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DInputSection.h74 uint64_t entsize; member in class:lld::elf::SectionBase
96 uint64_t entsize, uint64_t alignment, uint32_t type,
100 entsize(entsize), type(type), link(link), info(info) {}
111 uint64_t entsize, uint32_t link, uint32_t info,
242 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
95 SectionBase(Kind sectionKind, StringRef name, uint64_t flags, uint64_t entsize, uint64_t alignment, uint32_t type, uint32_t info, uint32_t link) argument
H A DOutputSections.cpp57 shdr->sh_entsize = entsize;
110 // initialize type, entsize and flags from isec.
113 entsize = isec->entsize;
150 if (entsize != isec->entsize)
151 entsize = 0;
191 return sec->flags == ms->flags && sec->entsize == ms->entsize &&
199 syn->entsize
[all...]
H A DInputSection.cpp58 uint32_t type, uint64_t entsize,
62 : SectionBase(sectionKind, name, flags, entsize, alignment, type, info,
1280 uint64_t entsize, ArrayRef<uint8_t> data,
1282 : InputSectionBase(nullptr, flags, type, entsize, /*Link*/ 0, /*Info*/ 0,
1283 /*Alignment*/ entsize, data, name, SectionBase::Merge) {}
1295 splitStrings(data(), entsize); local
1297 splitNonStrings(data(), entsize); local
57 InputSectionBase(InputFile *file, uint64_t flags, uint32_t type, uint64_t entsize, uint32_t link, uint32_t info, uint32_t alignment, ArrayRef<uint8_t> data, StringRef name, Kind sectionKind) argument
1279 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize, ArrayRef<uint8_t> data, StringRef name) argument
H A DSyntheticSections.cpp94 this->entsize = sizeof(Elf_Mips_ABIFlags);
153 this->entsize = sizeof(Elf_Mips_Options) + sizeof(Elf_Mips_RegInfo);
214 this->entsize = sizeof(Elf_Mips_RegInfo);
1196 this->entsize = ELFT::Is64Bits ? 16 : 8;
1223 size_t tagOffset = entries.size() * entsize;
1497 this->size = entries.size() * this->entsize;
1596 this->entsize = config->isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel);
1627 this->entsize = 1;
1871 this->entsize = config->wordsize;
2090 this->entsize
[all...]
H A DSyntheticSections.h499 size_t getSize() const override { return relocs.size() * this->entsize; }
565 size_t getSize() const override { return relrRelocs.size() * this->entsize; }
583 size_t getSize() const override { return getNumSymbols() * entsize; }
/freebsd-11-stable/contrib/binutils/ld/
H A Dldcref.c113 static size_t tabsize, entsize, refsize; variable
224 entsize += cref_table.root.entsize;
232 old_tab = xmalloc (tabsize + entsize + refsize);
240 old_ref = (char *) old_ent + entsize;
254 memcpy (old_ent, p, cref_table.root.entsize);
255 old_ent = (char *) old_ent + cref_table.root.entsize;
281 old_ref = (char *) old_ent + entsize;
296 memcpy (p, old_ent, cref_table.root.entsize);
297 old_ent = (char *) old_ent + cref_table.root.entsize;
[all...]
/freebsd-11-stable/usr.bin/elfdump/
H A Delfdump.c807 u_int64_t entsize; local
832 entsize = elf_get_size(e, v, SH_ENTSIZE);
844 fprintf(out, "\tsh_entsize: %jd\n", (intmax_t)entsize);
853 u_int64_t entsize; local
865 entsize = elf_get_size(e, sh, SH_ENTSIZE);
868 len = size / entsize;
871 st = (char *)e + offset + i * entsize;
893 u_int64_t entsize; local
902 entsize = elf_get_size(e, sh, SH_ENTSIZE);
905 for (i = 0; (u_int64_t)i < size / entsize;
953 u_int64_t entsize; local
985 u_int64_t entsize; local
[all...]
/freebsd-11-stable/contrib/binutils/gas/config/
H A Dobj-elf.c528 int entsize,
686 sec->entsize = entsize;
713 if ((flags & SEC_MERGE) && old_sec->entsize != (unsigned) entsize)
884 int entsize; local
915 entsize = 0;
969 entsize = get_absolute_expression ();
971 if (entsize < 0)
975 entsize
525 obj_elf_change_section(const char *name, int type, int attr, int entsize, const char *group_name, int linkonce, int push) argument
[all...]
/freebsd-11-stable/contrib/binutils/opcodes/
H A Dcgen-dis.c104 int entsize ATTRIBUTE_UNUSED,
H A Dcgen-asm.c70 int entsize ATTRIBUTE_UNUSED,
/freebsd-11-stable/contrib/elftoolchain/elfdump/
H A Delfdump.c94 uint64_t entsize; /* section entsize */ member in struct:section
1159 s->entsize = sh.sh_entsize;
1416 PRT(" sh_entsize: %#jx\n", (uintmax_t)s->entsize);
1433 PRT("\tsh_entsize: %ju\n", (uintmax_t)s->entsize);
1445 if (s->entsize == 0) {
1448 } else if (s->sz / s->entsize > INT_MAX) {
1452 *ent_count = (int)(s->sz / s->entsize);
1915 gs->entsize;
1929 if (s->entsize
[all...]
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/
H A DX86.cpp219 unsigned relOff = in.relaPlt->entsize * sym.pltIndex;
531 unsigned relOff = in.relaPlt->entsize * sym.pltIndex;
590 unsigned relOff = in.relaPlt->entsize * sym.pltIndex;
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_dof.c144 uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size)
152 s.dofs_entsize = entsize;
171 uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size)
179 s.dofs_entsize = entsize;
143 dof_add_lsect(dt_dof_t *ddo, const void *data, uint32_t type, uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size) argument
170 dof_add_usect(dt_dof_t *ddo, const void *data, uint32_t type, uint32_t align, uint32_t flags, uint32_t entsize, uint64_t size) argument
/freebsd-11-stable/contrib/binutils/gas/
H A Dwrite.c1435 && now_seg->entsize)
1437 unsigned int entsize = now_seg->entsize; local
1440 while ((entsize & 1) == 0)
1443 entsize >>= 1;
/freebsd-11-stable/contrib/elftoolchain/readelf/
H A Dreadelf.c121 uint64_t entsize; /* section entsize */ member in struct:section
2582 (uintmax_t)s->entsize, section_flags(re, s), \
2586 (uintmax_t)s->entsize, s->link, s->info, \
2590 (uintmax_t)s->sz, (uintmax_t)s->entsize, s->info, \
2676 if (s->entsize == 0) {
2679 } else if (s->sz / s->entsize > INT_MAX) {
2683 *ent_count = (int)(s->sz / s->entsize);
3600 s->entsize == 8)
4138 for (j = 0; (uint64_t) j < s->sz / s->entsize;
[all...]
/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-dump.c221 osection->entsize = 0;

Completed in 289 milliseconds

12