Home
last modified time | relevance | path

Searched refs:p_filesz (Results 1 – 22 of 22) sorted by relevance

/toolchain/binutils/binutils-2.25/include/elf/
Dinternal.h92 bfd_vma p_filesz; /* Segment size in file */ member
326 <= (segment)->p_filesz - 1)) \
329 <= (segment)->p_filesz))) \
347 < (segment)->p_filesz))) \
Dexternal.h93 unsigned char p_filesz[4]; /* Segment size in file */ member
105 unsigned char p_filesz[8]; /* Segment size in file */ member
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h96 Elf_Word p_filesz;
110 Elf_Xword p_filesz;
Delfcpp.h1309 { return Convert<size, big_endian>::convert_host(this->p_->p_filesz); }
1355 { this->p_->p_filesz = Convert<size, big_endian>::convert_host(v); }
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/
Dmultibss1.d10 # p_offset p_vaddr p_paddr p_filesz
/toolchain/binutils/binutils-2.25/bfd/
Delfcore.h292 if (p->p_filesz) in elf_core_file_p()
294 bfd_size_type current = p->p_offset + p->p_filesz; in elf_core_file_p()
Delf.c1220 bfd_fprintf_vma (abfd, f, p->p_filesz); in _bfd_elf_print_private_bfd_data()
2480 && (hdr->p_filesz > 0) in _bfd_elf_make_section_from_phdr()
2481 && (hdr->p_memsz > hdr->p_filesz)); in _bfd_elf_make_section_from_phdr()
2483 if (hdr->p_filesz > 0) in _bfd_elf_make_section_from_phdr()
2496 newsect->size = hdr->p_filesz; in _bfd_elf_make_section_from_phdr()
2517 if (hdr->p_memsz > hdr->p_filesz) in _bfd_elf_make_section_from_phdr()
2530 newsect->vma = hdr->p_vaddr + hdr->p_filesz; in _bfd_elf_make_section_from_phdr()
2531 newsect->lma = hdr->p_paddr + hdr->p_filesz; in _bfd_elf_make_section_from_phdr()
2532 newsect->size = hdr->p_memsz - hdr->p_filesz; in _bfd_elf_make_section_from_phdr()
2533 newsect->filepos = hdr->p_offset + hdr->p_filesz; in _bfd_elf_make_section_from_phdr()
[all …]
Delfcode.h369 dst->p_filesz = H_GET_WORD (abfd, src->p_filesz); in elf_swap_phdr_in()
390 H_PUT_WORD (abfd, src->p_filesz, dst->p_filesz); in elf_swap_phdr_out()
1704 bfd_vma segment_end = i_phdrs[i].p_offset + i_phdrs[i].p_filesz; in NAME()
1745 if (last_phdr->p_filesz != last_phdr->p_memsz) in NAME()
1756 bfd_vma segment_end = last_phdr->p_offset + last_phdr->p_filesz; in NAME()
1783 bfd_vma end = start + i_phdrs[i].p_filesz; in NAME()
Delf32-rx.c3204 if (phdr[i].p_filesz 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()
3229 if (phdr[i].p_filesz in rx_elf_object_p()
3231 && bsec->vma <= phdr[i].p_vaddr + (phdr[i].p_filesz - 1)) in rx_elf_object_p()
Delf32-spu.c5365 adjust = -phdr[i].p_filesz & 15; in spu_elf_modify_program_headers()
5368 && phdr[i].p_offset + phdr[i].p_filesz > last->p_offset - adjust) in spu_elf_modify_program_headers()
5374 && phdr[i].p_filesz != 0 in spu_elf_modify_program_headers()
5379 if (phdr[i].p_filesz != 0) in spu_elf_modify_program_headers()
5389 adjust = -phdr[i].p_filesz & 15; in spu_elf_modify_program_headers()
5390 phdr[i].p_filesz += adjust; in spu_elf_modify_program_headers()
Delf64-hppa.c2762 sect->size = hdr->p_filesz; in elf64_hppa_section_from_phdr()
2783 return _bfd_elfcore_make_pseudosection (abfd, ".reg", hdr->p_filesz, in elf64_hppa_section_from_phdr()
Delf64-ia64-vms.c4506 bfd_vma limit_vma = base_vma + i_phdr->p_filesz; in elf64_vms_object_p()
4809 s->size = phdr->p_filesz; in elf64_vms_link_add_object_symbols()
DChangeLog2200 p_memsz > p_filesz. Handle file header specifying no section
2822 doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.
DChangeLog-20112300 (assign_file_positions_for_non_load_sections): Don't set p_filesz
DChangeLog-20062099 hack for PT_DYNAMIC. Instead, set p_filesz for all segments
DChangeLog-20072211 rather than p_filesz to calculate the LMA of the end of a segment.
DChangeLog-20041228 adjustment. Tweak lma adjustment to use p_filesz rather than p_memsz.
DChangeLog-20093680 p_filesz and p_memsz are equal. Use p_memsz as the segment size.
DChangeLog-02035108 but adjust p_filesz for .tbss too. in PT_LOAD consider
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c135 unsigned char p_filesz[4]; /* Segment size in file */ member
149 unsigned char p_filesz[8]; /* Segment size in file */ member
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c4227 internal->p_filesz = BYTE_GET (external->p_filesz); in get_32bit_program_headers()
4272 internal->p_filesz = BYTE_GET (external->p_filesz); in get_64bit_program_headers()
4385 printf ("0x%5.5lx ", (unsigned long) segment->p_filesz); in process_program_headers()
4408 if ((unsigned long) segment->p_filesz == segment->p_filesz) in process_program_headers()
4409 printf ("0x%6.6lx ", (unsigned long) segment->p_filesz); in process_program_headers()
4412 print_vma (segment->p_filesz, FULL_HEX); in process_program_headers()
4443 print_vma (segment->p_filesz, FULL_HEX); in process_program_headers()
4466 dynamic_size = segment->p_filesz; in process_program_headers()
4500 || dynamic_addr > segment->p_offset + segment->p_filesz) in process_program_headers()
4584 && vma + size <= seg->p_vaddr + seg->p_filesz) in offset_from_vma()
[all …]
/toolchain/binutils/binutils-2.25/bfd/doc/
Dbfdint.texi1722 @samp{p_filesz} field. The total size of the segment is given by the
1723 @samp{p_memsz} field. If @samp{p_memsz} is larger than @samp{p_filesz},