/dflybsd-src/contrib/binutils-2.34/bfd/ |
H A D | elf-ifunc.c | 116 asection *plt, *gotplt, *relplt; in _bfd_elf_allocate_ifunc_dyn_relocs() local 123 bfd_boolean use_plt = !avoid_plt || h->plt.refcount > 0; in _bfd_elf_allocate_ifunc_dyn_relocs() 183 if (h->plt.refcount <= 0 && h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 186 h->plt = htab->init_plt_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 195 if (h->plt.refcount > 0 in _bfd_elf_allocate_ifunc_dyn_relocs() 199 h->plt = htab->init_plt_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 215 plt = htab->splt; in _bfd_elf_allocate_ifunc_dyn_relocs() 221 if (plt->size == 0 && use_plt) in _bfd_elf_allocate_ifunc_dyn_relocs() 222 plt->size += plt_header_size; in _bfd_elf_allocate_ifunc_dyn_relocs() 226 plt = htab->iplt; in _bfd_elf_allocate_ifunc_dyn_relocs() [all …]
|
H A D | elf32-i386.c | 1621 h->plt.refcount = 1; in elf_i386_check_relocs() 1824 h->plt.refcount = 1; in elf_i386_check_relocs() 2044 plt_entry_size = htab->plt.plt_entry_size; in elf_i386_relocate_section() 2252 plt_offset = h->plt.offset; in elf_i386_relocate_section() 2259 plt_offset = h->plt.offset; in elf_i386_relocate_section() 2282 if (h->plt.offset == (bfd_vma) -1) in elf_i386_relocate_section() 2287 plt_index = (h->plt.offset / plt_entry_size in elf_i386_relocate_section() 2288 - htab->plt.has_plt0); in elf_i386_relocate_section() 2294 plt_index = h->plt.offset / plt_entry_size; in elf_i386_relocate_section() 2350 if (h->plt.offset == (bfd_vma) -1) in elf_i386_relocate_section() [all …]
|
H A D | elfxx-x86.c | 107 plt_entry_size = htab->plt.plt_entry_size; in elf_x86_allocate_dynrelocs() 118 && h->plt.refcount > 0 in elf_x86_allocate_dynrelocs() 123 h->plt.offset = (bfd_vma) -1; in elf_x86_allocate_dynrelocs() 137 (htab->plt.has_plt0 in elf_x86_allocate_dynrelocs() 143 if (h->plt.offset != (bfd_vma) -1 && s != NULL) in elf_x86_allocate_dynrelocs() 160 && (h->plt.refcount > 0 in elf_x86_allocate_dynrelocs() 188 s->size = htab->plt.has_plt0 * plt_entry_size; in elf_x86_allocate_dynrelocs() 194 h->plt.offset = s->size; in elf_x86_allocate_dynrelocs() 233 h->root.u.def.value = h->plt.offset; in elf_x86_allocate_dynrelocs() 274 if (h->plt.offset == plt_entry_size) in elf_x86_allocate_dynrelocs() [all …]
|
H A D | elf64-x86-64.c | 2120 h->plt.refcount = 1; in elf_x86_64_check_relocs() 2129 h->plt.refcount = 1; in elf_x86_64_check_relocs() 2193 h->plt.refcount = 1; in elf_x86_64_check_relocs() 2227 h->plt.refcount = 1; in elf_x86_64_check_relocs() 2401 plt_entry_size = htab->plt.plt_entry_size; in elf_x86_64_relocate_section() 2582 if (h->plt.offset == (bfd_vma) -1) in elf_x86_64_relocate_section() 2587 plt_index = (h->plt.offset / plt_entry_size in elf_x86_64_relocate_section() 2588 - htab->plt.has_plt0); in elf_x86_64_relocate_section() 2594 plt_index = h->plt.offset / plt_entry_size; in elf_x86_64_relocate_section() 2631 if (h->plt.offset == (bfd_vma) -1) in elf_x86_64_relocate_section() [all …]
|
/dflybsd-src/contrib/binutils-2.27/bfd/ |
H A D | elf-ifunc.c | 119 asection *plt, *gotplt, *relplt; in _bfd_elf_allocate_ifunc_dyn_relocs() local 126 bfd_boolean use_plt = !avoid_plt || h->plt.refcount > 0; in _bfd_elf_allocate_ifunc_dyn_relocs() 178 if (h->plt.refcount <= 0 && h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 181 h->plt = htab->init_plt_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 190 if (h->plt.refcount > 0 in _bfd_elf_allocate_ifunc_dyn_relocs() 194 h->plt = htab->init_plt_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 210 plt = htab->splt; in _bfd_elf_allocate_ifunc_dyn_relocs() 216 if (plt->size == 0 && use_plt) in _bfd_elf_allocate_ifunc_dyn_relocs() 217 plt->size += plt_header_size; in _bfd_elf_allocate_ifunc_dyn_relocs() 221 plt = htab->iplt; in _bfd_elf_allocate_ifunc_dyn_relocs() [all …]
|
H A D | elf32-i386.c | 684 get_elf_i386_backend_data (abfd)->plt->plt_entry_size 717 const struct elf_i386_plt_layout *plt; member 2002 h->plt.refcount += 1; in elf_i386_check_relocs() 2172 h->plt.refcount += 1; in elf_i386_check_relocs() 2324 && h->plt.refcount > 0 in elf_i386_check_relocs() 2468 if (h->plt.refcount <= 0) in elf_i386_adjust_dynamic_symbol() 2469 h->plt.refcount = 1; in elf_i386_adjust_dynamic_symbol() 2471 h->plt.refcount += 1; in elf_i386_adjust_dynamic_symbol() 2476 if (h->plt.refcount <= 0) in elf_i386_adjust_dynamic_symbol() 2478 h->plt.offset = (bfd_vma) -1; in elf_i386_adjust_dynamic_symbol() [all …]
|
H A D | elf64-x86-64.c | 2496 h->plt.refcount += 1; in elf_x86_64_check_relocs() 2505 h->plt.refcount += 1; in elf_x86_64_check_relocs() 2564 h->plt.refcount += 1; in elf_x86_64_check_relocs() 2724 && h->plt.refcount > 0 in elf_x86_64_check_relocs() 2870 if (h->plt.refcount <= 0) in elf_x86_64_adjust_dynamic_symbol() 2871 h->plt.refcount = 1; in elf_x86_64_adjust_dynamic_symbol() 2873 h->plt.refcount += 1; in elf_x86_64_adjust_dynamic_symbol() 2878 if (h->plt.refcount <= 0) in elf_x86_64_adjust_dynamic_symbol() 2880 h->plt.offset = (bfd_vma) -1; in elf_x86_64_adjust_dynamic_symbol() 2892 if (h->plt.refcount <= 0 in elf_x86_64_adjust_dynamic_symbol() [all …]
|
H A D | elf32-or1k.c | 890 && h->plt.offset != (bfd_vma) -1) in or1k_elf_relocate_section() 894 + h->plt.offset); in or1k_elf_relocate_section() 1524 h->plt.refcount += 1; in or1k_elf_check_relocs() 1582 h->plt.refcount += 1; in or1k_elf_check_relocs() 1866 if (h->plt.offset != (bfd_vma) -1) in or1k_elf_finish_dynamic_symbol() 1890 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in or1k_elf_finish_dynamic_symbol() 1904 splt->contents + h->plt.offset); in or1k_elf_finish_dynamic_symbol() 1906 splt->contents + h->plt.offset + 4); in or1k_elf_finish_dynamic_symbol() 1908 splt->contents + h->plt.offset + 8); in or1k_elf_finish_dynamic_symbol() 1910 splt->contents + h->plt.offset + 12); in or1k_elf_finish_dynamic_symbol() [all …]
|
/dflybsd-src/contrib/gdb-7/bfd/ |
H A D | elf-ifunc.c | 162 asection *plt, *gotplt, *relplt; in _bfd_elf_allocate_ifunc_dyn_relocs() local 191 if (h->plt.refcount <= 0 && h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 208 h->plt = htab->init_plt_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 217 if (h->plt.refcount > 0 in _bfd_elf_allocate_ifunc_dyn_relocs() 221 h->plt = htab->init_plt_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 237 plt = htab->splt; in _bfd_elf_allocate_ifunc_dyn_relocs() 243 if (plt->size == 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 244 plt->size += plt_entry_size; in _bfd_elf_allocate_ifunc_dyn_relocs() 248 plt = htab->iplt; in _bfd_elf_allocate_ifunc_dyn_relocs() 255 h->plt.offset = plt->size; in _bfd_elf_allocate_ifunc_dyn_relocs() [all …]
|
H A D | elf32-i386.c | 658 get_elf_i386_backend_data (abfd)->plt->plt_entry_size 691 const struct elf_i386_plt_layout *plt; member 1545 h->plt.refcount += 1; in elf_i386_check_relocs() 1694 h->plt.refcount += 1; in elf_i386_check_relocs() 1951 if (h->plt.refcount > 0) in elf_i386_gc_sweep_hook() 1952 h->plt.refcount -= 1; in elf_i386_gc_sweep_hook() 1973 if (h->plt.refcount > 0) in elf_i386_gc_sweep_hook() 1974 h->plt.refcount -= 1; in elf_i386_gc_sweep_hook() 1983 if (h->plt.refcount > 0) in elf_i386_gc_sweep_hook() 1984 h->plt.refcount -= 1; in elf_i386_gc_sweep_hook() [all …]
|
H A D | elf64-x86-64.c | 1588 h->plt.refcount += 1; in elf_x86_64_check_relocs() 1685 h->plt.refcount += 1; in elf_x86_64_check_relocs() 1694 h->plt.refcount += 1; in elf_x86_64_check_relocs() 1747 h->plt.refcount += 1; in elf_x86_64_check_relocs() 2007 if (r_type == R_X86_64_GOTPLT64 && h->plt.refcount > 0) in elf_x86_64_gc_sweep_hook() 2008 h->plt.refcount -= 1; in elf_x86_64_gc_sweep_hook() 2013 if (h->plt.refcount > 0) in elf_x86_64_gc_sweep_hook() 2014 h->plt.refcount -= 1; in elf_x86_64_gc_sweep_hook() 2044 if (h->plt.refcount > 0) in elf_x86_64_gc_sweep_hook() 2045 h->plt.refcount -= 1; in elf_x86_64_gc_sweep_hook() [all …]
|
/dflybsd-src/contrib/binutils-2.34/gold/ |
H A D | ehframe.h | 177 Fde(Output_data* plt, const unsigned char* contents, size_t length, in Fde() argument 182 this->u_.from_linker.plt = plt; in Fde() 211 post_map(const Output_data* plt) const in post_map() argument 212 { return this->post_map() && this->u_.from_linker.plt == plt; } in post_map() 246 Output_data* plt; member 419 add_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data, 425 remove_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data,
|
H A D | target.cc | 210 Target::do_plt_fde_location(const Output_data* plt, unsigned char*, in do_plt_fde_location() argument 213 *address = plt->address(); in do_plt_fde_location() 214 *len = plt->data_size(); in do_plt_fde_location()
|
H A D | ehframe.cc | 374 parameters->target().plt_fde_location(this->u_.from_linker.plt, in write() 1122 Eh_frame::add_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data, in add_ehframe_for_plt() argument 1139 Fde* fde = new Fde(plt, fde_data, fde_length, this->mappings_are_done_); in add_ehframe_for_plt() 1149 Eh_frame::remove_ehframe_for_plt(Output_data* plt, in remove_ehframe_for_plt() argument 1165 if (!fde->post_map(plt)) in remove_ehframe_for_plt()
|
/dflybsd-src/stand/boot/pc32/loader/ |
H A D | loader.ldscript | 37 .rel.plt : 39 *(.rel.plt) 48 .plt : { *(.plt) *(.iplt) } 139 .got.plt : { *(.got.plt) *(.igot.plt) }
|
/dflybsd-src/contrib/binutils-2.34/ld/scripttempl/ |
H A D | elf.sc | 40 # OTHER_PLT_SECTIONS - sections just after .plt. 44 # PLT_NEXT_DATA - .plt next to data segment when .plt is in text segment. 45 # DATA_PLT - .plt should be in data segment, not text segment. 46 # PLT_BEFORE_GOT - .plt just before .got when .plt is in data segement. 47 # BSS_PLT - .plt should be in bss segment 68 # SEPARATE_GOTPLT - if set, .got.plt should be separate output section, 70 # the number of bytes in the beginning of .got.plt which can be 148 PLT=".plt ${RELOCATING-0} : { *(.plt)${RELOCATING+${IREL_IN_PLT+ *(.iplt)}} } 154 …GOT=".got ${RELOCATING-0} : {${RELOCATING+ *(.got.plt) *(.igot.plt)} *(.got)${RELOCATING+… 157 GOTPLT=".got.plt ${RELOCATING-0} : { *(.got.plt)${RELOCATING+ *(.igot.plt)} }" [all …]
|
/dflybsd-src/sys/platform/vkernel64/conf/ |
H A D | ldscript.x86_64 | 49 .rela.plt : 51 *(.rela.plt) 60 .plt : { *(.plt) *(.iplt) } 156 .got.plt : { *(.got.plt) *(.igot.plt) }
|
/dflybsd-src/sys/platform/pc64/conf/ |
H A D | ldscript.x86_64 | 49 .rela.plt : 51 *(.rela.plt) 60 .plt : { *(.plt) *(.iplt) } 156 .got.plt : { *(.got.plt) *(.igot.plt) }
|
/dflybsd-src/contrib/binutils-2.27/ld/scripttempl/ |
H A D | elf.sc | 43 # PLT_NEXT_DATA - .plt next to data segment when .plt is in text segment. 44 # DATA_PLT - .plt should be in data segment, not text segment. 45 # PLT_BEFORE_GOT - .plt just before .got when .plt is in data segement. 46 # BSS_PLT - .plt should be in bss segment 67 # SEPARATE_GOTPLT - if set, .got.plt should be separate output section, 69 # the number of bytes in the beginning of .got.plt which can be 144 PLT=".plt ${RELOCATING-0} : { *(.plt)${IREL_IN_PLT+ *(.iplt)} } 150 GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.igot.plt) *(.got) *(.igot) }" 153 GOTPLT=".got.plt ${RELOCATING-0} : { *(.got.plt) *(.igot.plt) }" 442 .rel.plt ${RELOCATING-0} : [all …]
|
/dflybsd-src/contrib/binutils-2.27/gold/ |
H A D | ehframe.h | 177 Fde(Output_data* plt, const unsigned char* contents, size_t length, in Fde() argument 182 this->u_.from_linker.plt = plt; in Fde() 241 Output_data* plt; member 404 add_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data,
|
H A D | target.cc | 210 Target::do_plt_fde_location(const Output_data* plt, unsigned char*, in do_plt_fde_location() argument 213 *address = plt->address(); in do_plt_fde_location() 214 *len = plt->data_size(); in do_plt_fde_location()
|
/dflybsd-src/stand/boot/efi/loader/arch/x86_64/ |
H A D | ldscript.x86_64 | 21 *(.plt) 46 *(.got.plt .got)
|
/dflybsd-src/contrib/file/magic/Magdir/ |
H A D | claris | 23 # .plt 24 0 string \020\341\000\000\010\010 Claris Works palette files .plt
|
/dflybsd-src/contrib/gdb-7/gdb/ |
H A D | elfread.c | 614 asection *plt, *relplt, *got_plt; in elf_rel_plt_read() local 627 plt = bfd_get_section_by_name (obfd, ".plt"); in elf_rel_plt_read() 628 if (plt == NULL) in elf_rel_plt_read() 630 plt_elf_idx = elf_section_data (plt)->this_idx; in elf_rel_plt_read() 865 asection *plt; in elf_gnu_ifunc_resolve_by_got() local 876 plt = bfd_get_section_by_name (obfd, ".plt"); in elf_gnu_ifunc_resolve_by_got() 877 if (plt == NULL) in elf_gnu_ifunc_resolve_by_got()
|
/dflybsd-src/stand/boot/efi/ |
H A D | Makefile.inc | 20 EFI_GOLD_OBJCOPY_FLAGS= -j .got -j .got.plt -j .bss
|