| /dragonfly/contrib/binutils-2.27/gprof/ |
| HD | gmon_io.c | 295 struct gmon_hdr ghdr; in gmon_out_read() local 316 if (fread (&ghdr, sizeof (struct gmon_hdr), 1, ifp) != 1) in gmon_out_read() 324 || (file_format == FF_AUTO && !strncmp (&ghdr.cookie[0], GMON_MAGIC, 4))) in gmon_out_read() 326 if (file_format == FF_MAGIC && strncmp (&ghdr.cookie[0], GMON_MAGIC, 4)) in gmon_out_read() 334 gmon_file_version = bfd_get_32 (core_bfd, (bfd_byte *) ghdr.version); in gmon_out_read() 598 struct gmon_hdr ghdr; in gmon_out_write() local 611 memcpy (&ghdr.cookie[0], GMON_MAGIC, 4); in gmon_out_write() 612 bfd_put_32 (core_bfd, (bfd_vma) GMON_VERSION, (bfd_byte *) ghdr.version); in gmon_out_write() 614 if (fwrite (&ghdr, sizeof (ghdr), 1, ofp) != 1) in gmon_out_write()
|
| /dragonfly/contrib/binutils-2.34/gprof/ |
| HD | gmon_io.c | 295 struct gmon_hdr ghdr; in gmon_out_read() local 316 if (fread (&ghdr, sizeof (struct gmon_hdr), 1, ifp) != 1) in gmon_out_read() 324 || (file_format == FF_AUTO && !strncmp (&ghdr.cookie[0], GMON_MAGIC, 4))) in gmon_out_read() 326 if (file_format == FF_MAGIC && strncmp (&ghdr.cookie[0], GMON_MAGIC, 4)) in gmon_out_read() 334 gmon_file_version = bfd_get_32 (core_bfd, (bfd_byte *) ghdr.version); in gmon_out_read() 598 struct gmon_hdr ghdr; in gmon_out_write() local 611 memcpy (&ghdr.cookie[0], GMON_MAGIC, 4); in gmon_out_write() 612 bfd_put_32 (core_bfd, (bfd_vma) GMON_VERSION, (bfd_byte *) ghdr.version); in gmon_out_write() 614 if (fwrite (&ghdr, sizeof (ghdr), 1, ofp) != 1) in gmon_out_write()
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | objcopy.c | 1127 Elf_Internal_Shdr *ghdr; in group_signature() local 1136 ghdr = &elf_section_data (group)->this_hdr; in group_signature() 1137 if (ghdr->sh_link < elf_numsections (abfd)) in group_signature() 1140 Elf_Internal_Shdr *symhdr = elf_elfsections (abfd) [ghdr->sh_link]; in group_signature() 1143 && ghdr->sh_info > 0 in group_signature() 1144 && ghdr->sh_info < (symhdr->sh_size / bed->s->sizeof_sym)) in group_signature() 1145 return isympp[ghdr->sh_info - 1]; in group_signature()
|
| /dragonfly/contrib/binutils-2.34/binutils/ |
| HD | objcopy.c | 1243 Elf_Internal_Shdr *ghdr; in group_signature() local 1252 ghdr = &elf_section_data (group)->this_hdr; in group_signature() 1253 if (ghdr->sh_link == elf_onesymtab (abfd)) in group_signature() 1258 if (ghdr->sh_info > 0 in group_signature() 1259 && ghdr->sh_info < symhdr->sh_size / bed->s->sizeof_sym) in group_signature() 1260 return isympp[ghdr->sh_info - 1]; in group_signature()
|
| /dragonfly/contrib/gdb-7/bfd/ |
| HD | elf.c | 514 group_signature (bfd *abfd, Elf_Internal_Shdr *ghdr) in group_signature() argument 523 if (ghdr->sh_link >= elf_numsections (abfd)) in group_signature() 525 hdr = elf_elfsections (abfd) [ghdr->sh_link]; in group_signature() 527 || ! bfd_section_from_shdr (abfd, ghdr->sh_link)) in group_signature() 532 if (bfd_elf_get_elf_syms (abfd, hdr, 1, ghdr->sh_info, in group_signature()
|
| /dragonfly/contrib/binutils-2.27/bfd/ |
| HD | elf.c | 551 group_signature (bfd *abfd, Elf_Internal_Shdr *ghdr) in group_signature() argument 560 if (ghdr->sh_link >= elf_numsections (abfd)) in group_signature() 562 hdr = elf_elfsections (abfd) [ghdr->sh_link]; in group_signature() 564 || ! bfd_section_from_shdr (abfd, ghdr->sh_link)) in group_signature() 569 if (bfd_elf_get_elf_syms (abfd, hdr, 1, ghdr->sh_info, in group_signature()
|
| /dragonfly/contrib/binutils-2.34/bfd/ |
| HD | elf.c | 565 group_signature (bfd *abfd, Elf_Internal_Shdr *ghdr) in group_signature() argument 574 if (ghdr->sh_link >= elf_numsections (abfd)) in group_signature() 576 hdr = elf_elfsections (abfd) [ghdr->sh_link]; in group_signature() 578 || ! bfd_section_from_shdr (abfd, ghdr->sh_link)) in group_signature() 583 if (bfd_elf_get_elf_syms (abfd, hdr, 1, ghdr->sh_info, in group_signature()
|