Home
last modified time | relevance | path

Searched refs:phdr (Results 1 – 25 of 37) sorted by relevance

12

/toolchain/binutils/binutils-2.25/bfd/
Delf-nacl.c238 Elf_Internal_Phdr *phdr = elf_tdata (abfd)->phdr; in nacl_modify_program_headers() local
239 Elf_Internal_Phdr *p = phdr; in nacl_modify_program_headers()
Delf32-rx.c3170 Elf_Internal_Phdr *phdr = elf_tdata (abfd)->phdr; in rx_elf_object_p() local
3204 if (phdr[i].p_filesz in rx_elf_object_p()
3205 && phdr[i].p_offset <= (bfd_vma) sec->sh_offset in rx_elf_object_p()
3206 && (bfd_vma)sec->sh_offset <= phdr[i].p_offset + (phdr[i].p_filesz - 1)) in rx_elf_object_p()
3219 phdr[i].p_vaddr = sec->sh_addr + (sec->sh_offset - phdr[i].p_offset); in rx_elf_object_p()
3229 if (phdr[i].p_filesz in rx_elf_object_p()
3230 && phdr[i].p_vaddr <= bsec->vma in rx_elf_object_p()
3231 && bsec->vma <= phdr[i].p_vaddr + (phdr[i].p_filesz - 1)) in rx_elf_object_p()
3233 bsec->lma = phdr[i].p_paddr + (bsec->vma - phdr[i].p_vaddr); in rx_elf_object_p()
3609 Elf_Internal_Phdr * phdr; in elf32_rx_modify_program_headers() local
[all …]
Delf64-ia64-vms.c2932 Elf_Internal_Phdr *phdr; in elf64_ia64_install_fixup() local
2948 phdr = _bfd_elf_find_segment_containing_section in elf64_ia64_install_fixup()
2950 BFD_ASSERT (phdr != NULL); in elf64_ia64_install_fixup()
2952 bfd_putl64 (offset - phdr->p_vaddr, fixup->fixup_offset); in elf64_ia64_install_fixup()
2954 bfd_putl32 (phdr - elf_tdata (output_bfd)->phdr, fixup->fixup_seg); in elf64_ia64_install_fixup()
4065 Elf_Internal_Phdr *phdr; in elf64_ia64_finish_dynamic_sections() local
4076 phdr = _bfd_elf_find_segment_containing_section in elf64_ia64_finish_dynamic_sections()
4078 BFD_ASSERT (phdr != NULL); in elf64_ia64_finish_dynamic_sections()
4079 base_phdr = elf_tdata (info->output_bfd)->phdr; in elf64_ia64_finish_dynamic_sections()
4080 gp_seg = phdr - base_phdr; in elf64_ia64_finish_dynamic_sections()
[all …]
Delf32-spu.c257 Elf_Internal_Phdr *phdr = elf_tdata (abfd)->phdr; in spu_elf_object_p() local
261 for (num_buf = 0, num_ovl = 0, i = 0; i < ehdr->e_phnum; i++, phdr++) in spu_elf_object_p()
262 if (phdr->p_type == PT_LOAD && (phdr->p_flags & PF_OVERLAY) != 0) in spu_elf_object_p()
268 || ((last_phdr->p_vaddr ^ phdr->p_vaddr) & 0x3ffff) != 0) in spu_elf_object_p()
270 last_phdr = phdr; in spu_elf_object_p()
275 if (ELF_SECTION_SIZE (shdr, phdr) != 0 in spu_elf_object_p()
276 && ELF_SECTION_IN_SEGMENT (shdr, phdr)) in spu_elf_object_p()
5311 Elf_Internal_Phdr *phdr, *last; in spu_elf_modify_program_headers() local
5321 phdr = tdata->phdr; in spu_elf_modify_program_headers()
5334 phdr[i].p_flags |= PF_OVERLAY; in spu_elf_modify_program_headers()
[all …]
Delf32-lm32.c778 for (m = elf_seg_map (output_bfd), p = elf_tdata (output_bfd)->phdr; in _lm32fdpic_osec_to_segment()
792 return p - elf_tdata (output_bfd)->phdr; in _lm32fdpic_osec_to_segment()
802 return ! (elf_tdata (output_bfd)->phdr[seg].p_flags & PF_W); in _lm32fdpic_osec_readonly_p()
2641 if (! elf_tdata (ibfd) || ! elf_tdata (ibfd)->phdr in lm32_elf_fdpic_copy_private_bfd_data()
2642 || ! elf_tdata (obfd) || ! elf_tdata (obfd)->phdr) in lm32_elf_fdpic_copy_private_bfd_data()
2647 if (elf_tdata (ibfd)->phdr[i].p_type == PT_GNU_STACK) in lm32_elf_fdpic_copy_private_bfd_data()
2649 Elf_Internal_Phdr *iphdr = &elf_tdata (ibfd)->phdr[i]; in lm32_elf_fdpic_copy_private_bfd_data()
2652 if (elf_tdata (obfd)->phdr[i].p_type == PT_GNU_STACK) in lm32_elf_fdpic_copy_private_bfd_data()
2654 memcpy (&elf_tdata (obfd)->phdr[i], iphdr, sizeof (*iphdr)); in lm32_elf_fdpic_copy_private_bfd_data()
2659 || get_elf_backend_data (obfd)->s->write_out_phdrs (obfd, elf_tdata (obfd)->phdr, in lm32_elf_fdpic_copy_private_bfd_data()
Delf.c975 Elf_Internal_Phdr *phdr; in _bfd_elf_make_section_from_shdr() local
982 phdr = elf_tdata (abfd)->phdr; in _bfd_elf_make_section_from_shdr()
983 for (nload = 0, i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) in _bfd_elf_make_section_from_shdr()
984 if (phdr->p_paddr != 0) in _bfd_elf_make_section_from_shdr()
986 else if (phdr->p_type == PT_LOAD && phdr->p_memsz != 0) in _bfd_elf_make_section_from_shdr()
991 phdr = elf_tdata (abfd)->phdr; in _bfd_elf_make_section_from_shdr()
992 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) in _bfd_elf_make_section_from_shdr()
994 if (((phdr->p_type == PT_LOAD in _bfd_elf_make_section_from_shdr()
996 || phdr->p_type == PT_TLS) in _bfd_elf_make_section_from_shdr()
997 && ELF_SECTION_IN_SEGMENT (hdr, phdr)) in _bfd_elf_make_section_from_shdr()
[all …]
Delfcode.h768 elf_tdata (abfd)->phdr = NULL; in elf_object_p()
775 elf_tdata (abfd)->phdr = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt); in elf_object_p()
776 if (elf_tdata (abfd)->phdr == NULL) in elf_object_p()
780 i_phdr = elf_tdata (abfd)->phdr; in elf_object_p()
967 const Elf_Internal_Phdr *phdr, in elf_write_out_phdrs() argument
973 elf_swap_phdr_out (abfd, phdr, &extphdr); in elf_write_out_phdrs()
977 phdr++; in elf_write_out_phdrs()
1047 Elf_Internal_Phdr *i_phdrp = elf_tdata (abfd)->phdr; in elf_checksum_contents()
Delfcore.h250 elf_tdata (abfd)->phdr = i_phdrp; in elf_core_file_p()
Delf-bfd.h1579 Elf_Internal_Phdr *phdr; member
Delf32-bfin.c2144 return (p != NULL) ? p - elf_tdata (output_bfd)->phdr : -1; in _bfinfdpic_osec_to_segment()
2152 return ! (elf_tdata (output_bfd)->phdr[seg].p_flags & PF_W); in _bfinfdpic_osec_readonly_p()
Delf32-frv.c1298 return (p != NULL) ? p - elf_tdata (output_bfd)->phdr : -1; in _frvfdpic_osec_to_segment()
1306 return ! (elf_tdata (output_bfd)->phdr[seg].p_flags & PF_W); in _frvfdpic_osec_readonly_p()
Delf32-sh.c3690 return (p != NULL) ? p - elf_tdata (output_bfd)->phdr : -1; in sh_elf_osec_to_segment()
3699 && ! (elf_tdata (output_bfd)->phdr[seg].p_flags & PF_W)); in sh_elf_osec_readonly_p()
/toolchain/binutils/binutils-2.25/ld/
Dldgram.y83 } phdr; member
105 %type <phdr> phdr_qualifiers
1198 | phdr_list phdr
1201 phdr:
Dld.texinfo3858 @} [>@var{region}] [AT>@var{lma_region}] [:@var{phdr} :@var{phdr} @dots{}] [=@var{fillexp}] [,]
4528 @} [>@var{region}] [AT>@var{lma_region}] [:@var{phdr} :@var{phdr} @dots{}] [=@var{fillexp}]
4543 * Output Section Phdr:: Output section phdr
4722 @kindex :@var{phdr}
4726 using @samp{:@var{phdr}}. @xref{PHDRS}. If a section is assigned to
4729 @code{:@var{phdr}} modifier. You can use @code{:NONE} to tell the
4793 @} [:@var{phdr}@dots{}] [=@var{fill}]
4799 @} [:@var{phdr}@dots{}] [=@var{fill}]
4801 @} [>@var{region}] [:@var{phdr}@dots{}] [=@var{fill}] [,]
5064 sections in the segments. You use the @samp{:@var{phdr}} output section
[all …]
DChangeLog-2007148 with phdr assignment.
/toolchain/binutils/binutils-2.25/binutils/
Ddwarf.c6932 unsigned char *phdr = section->start; in process_cu_tu_index() local
6933 unsigned char *limit = phdr + section->size; in process_cu_tu_index()
6947 version = byte_get (phdr, 4); in process_cu_tu_index()
6949 ncols = byte_get (phdr + 4, 4); in process_cu_tu_index()
6950 nused = byte_get (phdr + 8, 4); in process_cu_tu_index()
6951 nslots = byte_get (phdr + 12, 4); in process_cu_tu_index()
6952 phash = phdr + 16; in process_cu_tu_index()
/toolchain/binutils/binutils-2.25/ld/po/
Dzh_TW.po775 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
776 msgstr "%X%P: 區段「%s」被指派到不存在的 phdr「%s」\n"
Dbg.po992 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
993 msgstr "%X%P: раздел '%s' е присвоен към несъществуващ phdr `%s'\n"
Dja.po958 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
959 msgstr "%X%P: セクション `%s' が存在しない phdr `%s' に代入されました\n"
Dga.po811 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
812 msgstr "%X%P: sannadh rann�n `%s' go phdr `%s' nach bhfuil ann\n"
Did.po932 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
933 msgstr "%X%P: daerah `%s' ditempatkan ke phdr `%s' tidak-ada\n"
Dtr.po803 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
804 msgstr "%X%P: `%s' bölümü var olmayan phdr `%s'a atanmış\n"
Dit.po955 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
956 msgstr "%X%P: sezione \"%s\" assegnata al phdr \"%s\" che non esiste\n"
Dfi.po967 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
968 msgstr "%X%P: lohko ”%s” liitetty phdr-kohteeseen ”%s”, joka ei ole olemassa\n"
Des.po958 msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
959 msgstr "%X%P: se asignó la sección `%s' al phdr que no existe `%s'\n"

12