Lines Matching refs:offset

124 /* TOC base pointers offset from start of TOC.  */
520 /* Like R_PPC64_ADDR64, but used when setting global offset table
1630 with values (sym+add)@dtpmod and (sym+add)@dtprel, and computes the offset
1692 with values (sym+add)@dtpmod and zero, and computes the offset to the
1754 the offset to the entry relative to the TOC base (r2). */
1815 offset to the entry relative to the TOC base (r2). */
2447 bfd_vma offset;
2511 size_t offset, size;
2523 offset = 112;
2528 size, note->descpos + offset);
2652 /* An array for toc sections, indexed by offset/8. */
2655 /* Specifies the relocation symbol index used at a given toc offset. */
3215 /* Reference count until size_dynamic_sections, GOT offset thereafter. */
3219 bfd_vma offset;
3233 bfd_vma offset;
3319 A ppc_stub_long_branch with an r2 offset looks like:
3325 A ppc_stub_plt_branch with an r2 offset looks like:
3382 unsigned int offset;
3603 eh->offset = 0;
3702 htab->elf.init_got_offset.offset = 0;
3704 htab->elf.init_plt_offset.offset = 0;
4455 calculate needed space in the global offset table, procedure
4621 /* This symbol requires a global offset table entry. */
4655 /* This is a global offset table entry for a local symbol. */
5044 bfd_vma offset,
5058 if (!bfd_get_section_contents (opd_bfd, opd_sec, &val, offset, 8))
5091 if (look->r_offset < offset)
5093 else if (look->r_offset > offset)
5942 only references to the symbol are via the global offset table.
6007 offset table. The dynamic linker will use the .dynsym entry to
6008 determine the address it must put in the global offset table, so
6014 runtime process image. We need to remember the offset into the
6448 bfd_vma offset;
6500 offset = 0;
6513 if (rel->r_offset != offset
6515 || (rel + 1)->r_offset != offset + 8)
6573 || (rel + 1 == relend && rel->r_offset == offset + 16))
6575 if (sec->size == offset + 24)
6580 if (rel == relend && sec->size == offset + 16)
6588 if (rel->r_offset == offset + 24)
6589 offset += 24;
6590 else if (rel->r_offset != offset + 16)
6596 offset += 16;
6603 offset += 24;
6658 offset = 0;
6672 if (rel->r_offset == offset)
6680 if ((rel + 2 == relend && sec->size == offset + 16)
6682 && rel[2].r_offset == offset + 16
6683 && rel[3].r_offset == offset + 24
6748 offset += opd_ent_size;
6764 rel->r_offset += opd_adjust[(offset - opd_ent_size) / 8];
6896 to know the tp offset, and we need to optimize before allocating
7765 pent->plt.offset = s->size;
7785 pent->plt.offset = (bfd_vma) -1;
7843 gent->got.offset = (bfd_vma) -1;
7848 gent->got.offset = s->size;
7862 gent->got.offset = (bfd_vma) -1;
8071 ent->got.offset = (bfd_vma) -1;
8075 ent->got.offset = s->size;
8091 ent->got.offset = (bfd_vma) -1;
8107 ppc64_tlsld_got (ibfd)->offset = s->size;
8116 ppc64_tlsld_got (ibfd)->offset = (bfd_vma) -1;
8303 && ent->plt.offset != (bfd_vma) -1)
8347 build_plt_stub (bfd *obfd, bfd_byte *p, int offset)
8353 if (PPC_HA (offset) != 0)
8355 bfd_put_32 (obfd, ADDIS_R12_R2 | PPC_HA (offset), p), p += 4;
8357 bfd_put_32 (obfd, LD_R11_0R12 | PPC_LO (offset), p), p += 4;
8358 if (PPC_HA (offset + 16) != PPC_HA (offset))
8360 bfd_put_32 (obfd, ADDI_R12_R12 | PPC_LO (offset), p), p += 4;
8361 offset = 0;
8364 bfd_put_32 (obfd, LD_R2_0R12 | PPC_LO (offset + 8), p), p += 4;
8365 bfd_put_32 (obfd, LD_R11_0R12 | PPC_LO (offset + 16), p), p += 4;
8371 bfd_put_32 (obfd, LD_R11_0R2 | PPC_LO (offset), p), p += 4;
8372 if (PPC_HA (offset + 16) != PPC_HA (offset))
8374 bfd_put_32 (obfd, ADDI_R2_R2 | PPC_LO (offset), p), p += 4;
8375 offset = 0;
8378 bfd_put_32 (obfd, LD_R11_0R2 | PPC_LO (offset + 16), p), p += 4;
8379 bfd_put_32 (obfd, LD_R2_0R2 | PPC_LO (offset + 8), p), p += 4;
8405 /* Make a note of the offset within the stubs for this entry. */
8448 (*_bfd_error_handler) (_("long branch stub `%s' offset overflow"),
8534 htab->brlt->contents + br_entry->offset);
8542 rela.r_offset = (br_entry->offset
8573 r->r_offset = (br_entry->offset
8580 off = (br_entry->offset
8672 off = ent->plt.offset;
8743 /* As above, but don't actually build the stub. Just bump offset so
8769 off = ent->plt.offset & ~(bfd_vma) 1;
8814 /* If the branch offset if too big, use a ppc_stub_plt_branch. */
8834 br_entry->offset = htab->brlt->size;
8847 off = (br_entry->offset
8982 /* toc_curr tracks the TOC offset used for code sections below in
10394 bfd_vma offset;
10397 offset = (bfd_vma) -1;
10408 offset = rel[1].r_offset;
10417 if (offset != (bfd_vma) -1)
10457 if (offset != (bfd_vma) -1)
10461 rel[1].r_offset = offset + d_offset;
10467 if (offset != (bfd_vma) -1)
10470 contents + offset + 4);
10475 bfd_put_32 (output_bfd, insn2, contents + offset + 4);
10478 bfd_put_32 (output_bfd, insn2, contents + offset);
10495 bfd_vma offset = rel->r_offset;
10512 rel->r_offset = offset + d_offset;
10517 BFD_ASSERT (offset == rel[1].r_offset);
10521 contents + offset + 4);
10526 bfd_put_32 (output_bfd, insn2, contents + offset + 4);
10529 bfd_put_32 (output_bfd, insn2, contents + offset);
10542 bfd_vma offset = rel->r_offset;
10561 rel->r_offset = offset + d_offset;
10563 BFD_ASSERT (offset == rel[1].r_offset);
10568 contents + offset + 4);
10573 bfd_put_32 (output_bfd, insn2, contents + offset + 4);
10576 bfd_put_32 (output_bfd, insn2, contents + offset);
10882 offset table. */
10891 offp = &ppc64_tlsld_got (input_bfd)->offset;
10929 offp = &ent->got.offset;
10936 /* The offset must always be a multiple of 8. We use the
10951 && (offp == &ppc64_tlsld_got (input_bfd)->offset
11064 && ent->plt.offset != (bfd_vma) -1)
11068 + ent->plt.offset);
11087 /* TOC16 relocs. We want the offset relative to the TOC base,
11309 offset of the input section in the output
11603 if (ent->plt.offset != (bfd_vma) -1)
11617 + ent->plt.offset);
11622 loc += ((ent->plt.offset - PLT_INITIAL_ENTRY_SIZE) / PLT_ENTRY_SIZE
11780 /* Fill in the first entry in the global offset table.