Lines Matching defs:contents

424 			     asection *input_section, bfd_byte *contents,
431 bfd_byte *hit_data = contents + offset;
581 bfd_byte *contents;
593 contents = elf_section_data (sec)->this_hdr.contents;
605 memmove (contents + addr, contents + addr + count,
620 isym = (Elf_Internal_Sym *) symtab_hdr->contents;
642 rsym = (Elf_Internal_Sym *) symtab_hdr->contents + r_symndx;
702 particular set of section contents, specially. */
704 || elf_section_data (input_section)->this_hdr.contents == NULL)
712 memcpy (data, elf_section_data (input_section)->this_hdr.contents,
731 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
771 && symtab_hdr->contents != (unsigned char *) isymbuf)
783 && symtab_hdr->contents != (unsigned char *) isymbuf)
796 bfd_byte *contents, Elf_Internal_Rela *relocs,
848 contents, rel->r_offset,
930 bfd_byte *contents = NULL;
968 /* Get the section contents if we haven't done so already. */
969 if (contents == NULL)
972 if (elf_section_data (sec)->this_hdr.contents != NULL)
973 contents = elf_section_data (sec)->this_hdr.contents;
975 else if (!bfd_malloc_and_get_section (abfd, sec, &contents))
982 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1034 contents, the section relocs, and the BFD symbol table. We
1060 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1064 bfd_put_8 (abfd, 0x30, contents + irel->r_offset + 1);
1066 bfd_put_8 (abfd, 0x7e, contents + irel->r_offset);
1070 /* Note that we've changed the relocs, section contents, etc. */
1072 elf_section_data (sec)->this_hdr.contents = contents;
1073 symtab_hdr->contents = (unsigned char *) isymbuf;
1109 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1115 /* Note that we've changed the relocs, section contents, etc. */
1117 elf_section_data (sec)->this_hdr.contents = contents;
1118 symtab_hdr->contents = (unsigned char *) isymbuf;
1154 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1162 /* Note that we've changed the relocs, section contents, etc. */
1164 elf_section_data (sec)->this_hdr.contents = contents;
1165 symtab_hdr->contents = (unsigned char *) isymbuf;
1168 bfd_put_8 (abfd, 0x30, contents + irel->r_offset + 1);
1197 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1203 /* Note that we've changed the relocs, section contents, etc. */
1205 elf_section_data (sec)->this_hdr.contents = contents;
1206 symtab_hdr->contents = (unsigned char *) isymbuf;
1209 bfd_put_8 (abfd, (code & 0xff) - 0x10, contents + irel->r_offset);
1228 && symtab_hdr->contents != (unsigned char *) isymbuf)
1235 symtab_hdr->contents = (unsigned char *) isymbuf;
1239 if (contents != NULL
1240 && elf_section_data (sec)->this_hdr.contents != contents)
1243 free (contents);
1246 /* Cache the section contents for elf_link_input_bfd. */
1247 elf_section_data (sec)->this_hdr.contents = contents;
1259 && symtab_hdr->contents != (unsigned char *) isymbuf)
1261 if (contents != NULL
1262 && elf_section_data (sec)->this_hdr.contents != contents)
1263 free (contents);