Lines Matching refs:phdr
3170 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
3615 phdr = tdata->phdr; in elf32_rx_modify_program_headers()
3620 if (phdr[i].p_type == PT_LOAD) in elf32_rx_modify_program_headers()
3630 phdr[i].p_vaddr = phdr[i].p_paddr; in elf32_rx_modify_program_headers()
3633 phdr[i].p_paddr = 0; in elf32_rx_modify_program_headers()