Lines Matching defs:contents

341 			      bfd_byte *contents, bfd_vma offset,
347 bfd_byte *hit_data = contents + offset;
387 /* Retrieve the type byte for value from the section contents. */
432 bfd_byte *contents, Elf_Internal_Rela *relocs,
484 rel, 1, relend, howto, 0, contents);
491 contents, rel->r_offset,
698 bfd_byte *contents = NULL;
759 /* Get the section contents if we haven't done so already. */
760 if (contents == NULL)
763 if (elf_section_data (sec)->this_hdr.contents != NULL)
764 contents = elf_section_data (sec)->this_hdr.contents;
768 if (!bfd_malloc_and_get_section (abfd, sec, &contents))
776 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
825 contents, the section relocs, and the BFD symbol table. We
854 /* Note that we've changed the relocs, section contents,
857 elf_section_data (sec)->this_hdr.contents = contents;
858 symtab_hdr->contents = (unsigned char *) isymbuf;
861 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
926 contents + last_reloc->r_offset - 1);
930 contents + last_reloc->r_offset - 1);
945 bfd_put_8 (abfd, 0x55, contents + irel->r_offset - 1); /* bsr8. */
948 bfd_put_8 (abfd, 0x40, contents + irel->r_offset - 1); /* bra8. */
990 /* Note that we've changed the relocs, section contents,
993 elf_section_data (sec)->this_hdr.contents = contents;
994 symtab_hdr->contents = (unsigned char *) isymbuf;
997 code = bfd_get_8 (abfd, contents + irel->r_offset - 2);
1004 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
1013 bfd_put_8 (abfd, code, contents + irel->r_offset - 2); /* bCC:8. */
1017 bfd_put_8 (abfd, 0x55, contents + irel->r_offset - 2); /* bsr8. */
1058 /* Note that we've changed the relocs, section contents,
1061 elf_section_data (sec)->this_hdr.contents = contents;
1062 symtab_hdr->contents = (unsigned char *) isymbuf;
1065 code = bfd_get_8 (abfd, contents + irel->r_offset - 2);
1072 temp_code = code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
1084 contents + irel->r_offset - 2);
1089 contents + irel->r_offset - 2);
1095 bfd_put_8 (abfd, 0x7f, contents + irel->r_offset - 2);
1102 bfd_put_8 (abfd, 0x7e, contents + irel->r_offset - 2);
1146 /* Note that we've changed the relocs, section contents,
1149 elf_section_data (sec)->this_hdr.contents = contents;
1150 symtab_hdr->contents = (unsigned char *) isymbuf;
1153 code = bfd_get_8 (abfd, contents + irel->r_offset - 2);
1160 temp_code = code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
1173 contents + irel->r_offset - 2);
1178 contents + irel->r_offset - 2);
1184 bfd_put_8 (abfd, 0x7f, contents + irel->r_offset - 2);
1191 bfd_put_8 (abfd, 0x7e, contents + irel->r_offset - 2);
1236 /* Note that we've changed the relocs, section contents,
1239 elf_section_data (sec)->this_hdr.contents = contents;
1240 symtab_hdr->contents = (unsigned char *) isymbuf;
1247 op_ptr = contents + irel->r_offset - 4;
1314 op_ptr = contents + irel->r_offset - 2;
1327 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
1334 bfd_put_8 (abfd, code, contents + irel->r_offset - 1);
1382 /* Note that we've changed the relocs, section contents,
1385 elf_section_data (sec)->this_hdr.contents = contents;
1386 symtab_hdr->contents = (unsigned char *) isymbuf;
1390 op0 = bfd_get_8 (abfd, contents + irel->r_offset - 4);
1391 op1 = bfd_get_8 (abfd, contents + irel->r_offset - 3);
1392 op2 = bfd_get_8 (abfd, contents + irel->r_offset - 2);
1393 op3 = bfd_get_8 (abfd, contents + irel->r_offset - 1);
1424 bfd_put_8 (abfd, op0n, contents + irel->r_offset - 4);
1425 bfd_put_8 (abfd, op1n, contents + irel->r_offset - 3);
1449 && symtab_hdr->contents != (unsigned char *) isymbuf)
1454 symtab_hdr->contents = (unsigned char *) isymbuf;
1457 if (contents != NULL
1458 && elf_section_data (sec)->this_hdr.contents != contents)
1461 free (contents);
1464 /* Cache the section contents for elf_link_input_bfd. */
1465 elf_section_data (sec)->this_hdr.contents = contents;
1475 if (symtab_hdr->contents != (unsigned char *) isymbuf)
1477 if (elf_section_data (sec)->this_hdr.contents != contents)
1478 free (contents);
1491 bfd_byte *contents;
1502 contents = elf_section_data (sec)->this_hdr.contents;
1510 memmove (contents + addr, contents + addr + count,
1525 isym = (Elf_Internal_Sym *) symtab_hdr->contents;
1572 isym = (Elf_Internal_Sym *) symtab_hdr->contents;
1617 particular set of section contents, specially. */
1619 || elf_section_data (input_section)->this_hdr.contents == NULL)
1634 memcpy (data, elf_section_data (input_section)->this_hdr.contents,
1652 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1690 if (symtab_hdr->contents != (unsigned char *) isymbuf)
1700 if (symtab_hdr->contents != (unsigned char *) isymbuf)