Lines Matching defs:contents

1081 				 bfd_byte *contents,
1143 call = contents + offset + 4;
1171 || memcmp (contents + offset - 4, leaq, 4) != 0)
1177 || memcmp (contents + offset - 3, leaq + 1, 3) != 0)
1209 if (memcmp (contents + offset - 3, lea, 3) != 0)
1212 call = contents + offset + 4;
1260 val = bfd_get_8 (abfd, contents + offset - 3);
1277 val = bfd_get_8 (abfd, contents + offset - 2);
1281 val = bfd_get_8 (abfd, contents + offset - 1);
1296 val = bfd_get_8 (abfd, contents + offset - 3);
1301 if (bfd_get_8 (abfd, contents + offset - 2) != 0x8d)
1304 val = bfd_get_8 (abfd, contents + offset - 1);
1315 call = contents + offset;
1343 asection *sec, bfd_byte *contents,
1418 && ! elf_x86_64_check_tls_transition (abfd, info, sec, contents,
1556 bfd_byte *contents,
1598 opcode = bfd_get_8 (abfd, contents + roff - 2);
1744 modrm = bfd_get_8 (abfd, contents + roff - 1);
1751 disp = bfd_get_32 (abfd, contents + irel->r_offset);
1753 bfd_put_32 (abfd, disp, contents + irel->r_offset);
1776 disp = bfd_get_32 (abfd, contents + irel->r_offset);
1778 bfd_put_32 (abfd, disp, contents + irel->r_offset);
1784 bfd_put_8 (abfd, nop, contents + nop_offset);
1785 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1);
1794 rex = bfd_get_8 (abfd, contents + roff - 3);
1815 modrm = bfd_get_8 (abfd, contents + roff - 1);
1842 modrm = bfd_get_8 (abfd, contents + roff - 1);
1878 bfd_put_8 (abfd, modrm, contents + roff - 1);
1884 bfd_put_8 (abfd, rex, contents + roff - 3);
1891 bfd_put_8 (abfd, opcode, contents + roff - 2);
1917 bfd_byte *contents;
1932 /* Get the section contents. */
1933 if (elf_section_data (sec)->this_hdr.contents != NULL)
1934 contents = elf_section_data (sec)->this_hdr.contents;
1935 else if (!bfd_malloc_and_get_section (abfd, sec, &contents))
2055 if (!elf_x86_64_convert_load_reloc (abfd, contents, &r_type,
2068 if (! elf_x86_64_tls_transition (info, abfd, sec, contents,
2434 if (elf_section_data (sec)->this_hdr.contents != contents)
2437 free (contents);
2440 /* Cache the section contents for elf_link_input_bfd if any
2442 elf_section_data (sec)->this_hdr.contents = contents;
2454 if (elf_section_data (sec)->this_hdr.contents != contents)
2455 free (contents);
2504 bfd_byte *contents,
2630 contents, rel->r_offset);
2659 memset (contents + rel->r_offset + 4, 0, 4);
2666 memset (contents + rel->r_offset + 4, 0, 4);
2751 base_got->contents + off);
2970 base_got->contents + off);
3005 base_got->contents + off);
3447 if (sreloc == NULL || sreloc->contents == NULL)
3484 input_section, contents,
3534 if (contents[roff + 5] == 0xb8)
3545 memcpy (contents + roff - 3,
3555 memcpy (contents + roff - 4,
3565 memcpy (contents + roff - 3,
3571 contents + roff + 8 + largepic);
3594 type = bfd_get_8 (input_bfd, contents + roff - 3);
3595 val = bfd_get_8 (input_bfd, contents + roff - 1);
3598 contents + roff - 3);
3599 bfd_put_8 (output_bfd, 0xc7, contents + roff - 2);
3601 contents + roff - 1);
3604 contents + roff);
3621 if (contents[roff] == 0x67)
3626 bfd_put_8 (output_bfd, 0x0f, contents + roff);
3627 bfd_put_8 (output_bfd, 0x1f, contents + roff + 1);
3628 bfd_put_8 (output_bfd, 0x00, contents + roff + 2);
3632 bfd_put_8 (output_bfd, 0x66, contents + roff);
3633 bfd_put_8 (output_bfd, 0x90, contents + roff + 1);
3658 val = bfd_get_8 (input_bfd, contents + roff - 3);
3665 type = bfd_get_8 (input_bfd, contents + roff - 2);
3666 reg = bfd_get_8 (input_bfd, contents + roff - 1);
3676 contents + roff - 3);
3683 contents + roff - 3);
3686 contents + roff - 2);
3688 contents + roff - 1);
3699 contents + roff - 3);
3706 contents + roff - 3);
3709 contents + roff - 2);
3711 contents + roff - 1);
3721 contents + roff - 3);
3728 contents + roff - 3);
3731 contents + roff - 2);
3733 contents + roff - 1);
3737 contents + roff);
3803 bfd_put_64 (output_bfd, 0, htab->elf.sgot->contents + off);
3819 htab->elf.sgot->contents + off + GOT_ENTRY_SIZE);
3824 htab->elf.sgot->contents + off + GOT_ENTRY_SIZE);
3897 if (contents[roff + 5] == 0xb8)
3902 memcpy (contents + roff - 3,
3912 memcpy (contents + roff - 4,
3922 memcpy (contents + roff - 3,
3935 contents + roff + 8 + largepic);
3961 bfd_put_8 (output_bfd, 0x8b, contents + roff - 2);
3970 contents + roff);
3989 if (contents[roff] == 0x67)
3994 bfd_put_8 (output_bfd, 0x0f, contents + roff);
3995 bfd_put_8 (output_bfd, 0x1f, contents + roff + 1);
3996 bfd_put_8 (output_bfd, 0x00, contents + roff + 2);
4000 bfd_put_8 (output_bfd, 0x66, contents + roff);
4001 bfd_put_8 (output_bfd, 0x90, contents + roff + 1);
4012 input_section, contents,
4050 if (contents[rel->r_offset + 5] == 0xb8)
4055 memcpy (contents + rel->r_offset - 3,
4059 else if (contents[rel->r_offset + 4] == 0xff
4060 || contents[rel->r_offset + 4] == 0x67)
4065 memcpy (contents + rel->r_offset - 3,
4075 memcpy (contents + rel->r_offset - 3,
4083 if (contents[rel->r_offset + 4] == 0xff)
4088 memcpy (contents + rel->r_offset - 3,
4097 memcpy (contents + rel->r_offset - 3,
4125 htab->elf.sgot->contents + off);
4127 htab->elf.sgot->contents + off + GOT_ENTRY_SIZE);
4197 contents, rel->r_offset,
4273 /* Finish up dynamic symbol handling. We set the contents of various
4354 memcpy (plt->contents + h->plt.offset, htab->plt.plt_entry,
4358 memcpy (htab->plt_second->contents + eh->plt_second.offset,
4390 (resolved_plt->contents + plt_offset
4404 gotplt->contents + got_offset);
4446 (plt->contents + h->plt.offset
4457 (plt->contents + h->plt.offset
4462 loc = relplt->contents + plt_index * bed->s->sizeof_rela;
4488 memcpy (plt->contents + plt_offset,
4511 (plt->contents + plt_offset
4618 htab->elf.sgot->contents + h->got.offset);
4644 htab->elf.sgot->contents + h->got.offset);
4683 /* Finish up local dynamic symbol handling. We set the contents of
4731 && htab->elf.dynsym->contents != NULL)
4740 (htab->elf.dynsym->contents
4798 memcpy (htab->elf.splt->contents,
4810 (htab->elf.splt->contents
4822 (htab->elf.splt->contents
4829 htab->elf.sgot->contents + htab->elf.tlsdesc_got);
4831 memcpy (htab->elf.splt->contents + htab->elf.tlsdesc_plt,
4846 (htab->elf.splt->contents
4860 (htab->elf.splt->contents
4975 /* Get the PLT section contents. */
5102 plts[j].contents = plt_contents;