Home
last modified time | relevance | path

Searched refs:ar_hdr (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dar.c81 char x[sizeof (struct ar_hdr) - 3 * sizeof (Elf64) - 1];
124 register struct ar_hdr *f = (struct ar_hdr *)file; in _elf_armem()
129 if (fsz < sizeof (struct ar_hdr)) { in _elf_armem()
272 register struct ar_hdr *a; in _elf_arinit()
283 if (((end - hdr) < sizeof (struct ar_hdr)) || in _elf_arinit()
285 sizeof (struct ar_hdr)) != OK_YES)) in _elf_arinit()
288 a = (struct ar_hdr *)hdr; in _elf_arinit()
289 mem = (char *)a + sizeof (struct ar_hdr); in _elf_arinit()
H A Dmember.h64 #define ARSZ(m) (sizeof ((struct ar_hdr *)0)->m)
H A Dgetbase.c66 rc = elf->ed_baseoff - sizeof (struct ar_hdr); in _elf_getarhdrbase()
H A Dbegin.c69 if ((_elf_vm(ref, ref->ed_nextoff, sizeof (struct ar_hdr)) != in _elf_member()
74 base = ref->ed_nextoff + sizeof (struct ar_hdr); in _elf_member()
/titanic_50/usr/src/cmd/sgs/ar/common/
H A Dfile.c682 mem_offset += sizeof (struct ar_hdr) + fptr->ar_size; in mksymtab()
729 char buf[sizeof (struct ar_hdr) + 1]; in write_member_header()
741 if (len != sizeof (struct ar_hdr)) { in write_member_header()
1031 size += sizeof (struct ar_hdr) + long_strtbl.used + PADSZ; in require64()
1040 size += sizeof (struct ar_hdr) + fptr->ar_size + PADSZ; in require64()
1114 pad_cnt = pad(arsize + sizeof (struct ar_hdr), PADSZ); in writefile()
1120 arsize += sizeof (struct ar_hdr) + long_strtbl.used; in writefile()
1122 pad_cnt = pad(arsize + sizeof (struct ar_hdr), PADSZ); in writefile()
1555 size_t hdrsize = sizeof (struct ar_hdr); in sizeofmembers()
1602 sum += sizeof (struct ar_hdr) + ((nsyms + 1) * eltsize); in sizeof_symtbl()
/titanic_50/usr/src/head/
H A Dar.h70 struct ar_hdr /* archive file member header - printable ascii */ struct
/titanic_50/usr/src/cmd/sgs/mcs/common/
H A Dfile.c1272 char mem_header_buf[sizeof (struct ar_hdr) + 1]; in copy_elf_file_to_temp_ar_file()
1302 (unsigned)sizeof (struct ar_hdr)) != in copy_elf_file_to_temp_ar_file()
1303 (unsigned)sizeof (struct ar_hdr)) { in copy_elf_file_to_temp_ar_file()
1337 char mem_header_buf[sizeof (struct ar_hdr) + 1]; in copy_non_elf_to_temp_ar()
1347 if (write(fdartmp, mem_header_buf, sizeof (struct ar_hdr)) != in copy_non_elf_to_temp_ar()
1348 sizeof (struct ar_hdr)) { in copy_non_elf_to_temp_ar()