Lines Matching defs:plt
263 /* A 26 bit PLT relocation. Shifted by 2. */
801 /* A 26 bit PLT relocation, using ADRP. Shifted by 2. */
931 /* For calculating PLT size. */
1419 /* If the call is not local, redirect the branch to the PLT.
1422 && h->plt.offset != (bfd_vma) -1)
1423 relocation = plt_base + h->plt.offset;
1429 (_("%pB: addend should be zero for plt relocations"),
1568 /* For a non-shared link, these will reference plt or call the
1583 /* For a non-shared link, these will reference either the plt
2061 /* This relocation requires .plt entry. */
2069 h->plt.refcount += 1;
2137 /* We may also need a .plt entry. */
2138 h->plt.refcount += 1;
2382 unsigned plt[PLT_MAX_INSN_COUNT];
2394 plt[0] = OR1K_ADRP(12) | pa;
2395 plt[1] = OR1K_LWZ(15,12) | (po + 8);
2396 plt[2] = OR1K_LWZ(12,12) | (po + 4);
2400 plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */
2401 plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */
2402 plt[2] = OR1K_NOP;
2408 plt[0] = OR1K_MOVHI(12) | ha;
2409 plt[1] = OR1K_LWZ(15,12) | (lo + 8);
2410 plt[2] = OR1K_LWZ(12,12) | (lo + 4);
2414 plt, plt_insn_count);
2453 if (h->plt.offset != (bfd_vma) -1)
2455 unsigned int plt[PLT_MAX_INSN_COUNT];
2484 in all the symbols for which we are making plt entries. The
2487 plt_addr = plt_base_addr + h->plt.offset;
2504 plt[0] = OR1K_ADRP(12) | pa;
2505 plt[1] = OR1K_LWZ(12,12) | po;
2506 plt[2] = OR1K_ORI0(11) | plt_reloc;
2517 plt[0] = OR1K_MOVHI(12) | gotha;
2518 plt[1] = OR1K_ADD(12,12,16);
2519 plt[2] = OR1K_LWZ(12,12) | got;
2520 plt[3] = OR1K_MOVHI(11) | pltrelhi;
2521 plt[4] = OR1K_ORI(11,11) | pltrello;
2526 plt[0] = OR1K_LWZ(12,16) | got_offset;
2527 plt[1] = OR1K_ORI0(11) | plt_reloc;
2528 plt[2] = OR1K_NOP;
2535 plt[0] = OR1K_MOVHI(12) | ha;
2536 plt[1] = OR1K_LWZ(12,12) | lo;
2537 plt[2] = OR1K_ORI0(11) | plt_reloc;
2540 /* For large code model we fixup the non-PIC PLT relocation instructions
2547 plt[2] = OR1K_MOVHI(11) | pltrelhi;
2548 plt[3] = OR1K_ORI(11,11) | pltrello;
2549 plt[4] = OR1K_NOP;
2553 or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset,
2554 OR1K_JR(12), plt, plt_insn_count);
2557 point to the top of the plt. This is done to lazy lookup the actual
2558 symbol as the first plt entry will be setup by libc to call the
2562 /* Fill in the entry in the .rela.plt section. */
2573 the .plt section. Leave the value alone. */
2697 if (h->plt.refcount <= 0
2702 /* This case can occur if we saw a PLT reloc in an input
2707 h->plt.offset = (bfd_vma) -1;
2714 h->plt.offset = (bfd_vma) -1;
2845 /* Allocate space in .plt, .got and associated reloc sections for
2864 && h->plt.refcount > 0)
2880 /* Track the index of our plt entry for use in calculating size. */
2884 /* If this is the first .plt entry, make room for the special
2889 h->plt.offset = splt->size;
2893 location in the .plt. This is required to make function
2900 h->root.u.def.value = h->plt.offset;
2906 /* We also need to make an entry in the .got.plt section, which
2910 /* We also need to make an entry in the .rel.plt section. */
2915 h->plt.offset = (bfd_vma) -1;
2921 h->plt.offset = (bfd_vma) -1;
3149 /* Allocate global sym .plt and .got entries, and space for global
3187 .rela.plt. We must create both sections in