Searched refs:ghdr (Results 1 – 4 of 4) sorted by relevance
/toolchain/binutils/binutils-2.25/gprof/ |
D | bb_exit_func.c | 50 struct gmon_hdr ghdr; in __bb_exit_func() local 72 memcpy (&ghdr.cookie[0], GMON_MAGIC, 4); in __bb_exit_func() 73 memcpy (&ghdr.version, &version, sizeof (version)); in __bb_exit_func() 74 fwrite (&ghdr, sizeof (ghdr), 1, fp); in __bb_exit_func()
|
D | 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()
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | objcopy.c | 1018 Elf_Internal_Shdr *ghdr; in group_signature() local 1023 ghdr = &elf_section_data (group)->this_hdr; in group_signature() 1024 if (ghdr->sh_link < elf_numsections (abfd)) in group_signature() 1027 Elf_Internal_Shdr *symhdr = elf_elfsections (abfd) [ghdr->sh_link]; in group_signature() 1030 && ghdr->sh_info < symhdr->sh_size / bed->s->sizeof_sym) in group_signature() 1031 return isympp[ghdr->sh_info - 1]; in group_signature()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | 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()
|