Home | History | Annotate | Download | only in bfd

Lines Matching refs:contents

435 			     asection *input_section, bfd_byte *contents,
442 bfd_byte *hit_data = contents + offset;
592 bfd_byte *contents;
604 contents = elf_section_data (sec)->this_hdr.contents;
612 memmove (contents + addr, contents + addr + count,
627 isym = (Elf_Internal_Sym *) symtab_hdr->contents;
649 rsym = (Elf_Internal_Sym *) symtab_hdr->contents + r_symndx;
734 particular set of section contents, specially. */
736 || elf_section_data (input_section)->this_hdr.contents == NULL)
744 memcpy (data, elf_section_data (input_section)->this_hdr.contents,
763 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
803 && symtab_hdr->contents != (unsigned char *) isymbuf)
815 && symtab_hdr->contents != (unsigned char *) isymbuf)
828 bfd_byte *contents, Elf_Internal_Rela *relocs,
877 rel, 1, relend, howto, 0, contents);
884 contents, rel->r_offset,
967 bfd_byte *contents = NULL;
1005 /* Get the section contents if we haven't done so already. */
1006 if (contents == NULL)
1009 if (elf_section_data (sec)->this_hdr.contents != NULL)
1010 contents = elf_section_data (sec)->this_hdr.contents;
1012 else if (!bfd_malloc_and_get_section (abfd, sec, &contents))
1019 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1071 contents, the section relocs, and the BFD symbol table. We
1097 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1101 bfd_put_8 (abfd, 0x30, contents + irel->r_offset + 1);
1103 bfd_put_8 (abfd, 0x7e, contents + irel->r_offset);
1107 /* Note that we've changed the relocs, section contents, etc. */
1109 elf_section_data (sec)->this_hdr.contents = contents;
1110 symtab_hdr->contents = (unsigned char *) isymbuf;
1146 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1152 /* Note that we've changed the relocs, section contents, etc. */
1154 elf_section_data (sec)->this_hdr.contents = contents;
1155 symtab_hdr->contents = (unsigned char *) isymbuf;
1191 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1201 /* Note that we've changed the relocs, section contents, etc. */
1203 elf_section_data (sec)->this_hdr.contents = contents;
1204 symtab_hdr->contents = (unsigned char *) isymbuf;
1207 bfd_put_8 (abfd, 0x30, contents + irel->r_offset + 1);
1236 code = (unsigned short) bfd_get_16 (abfd, contents + irel->r_offset);
1242 /* Note that we've changed the relocs, section contents, etc. */
1244 elf_section_data (sec)->this_hdr.contents = contents;
1245 symtab_hdr->contents = (unsigned char *) isymbuf;
1248 bfd_put_8 (abfd, (code & 0xff) - 0x10, contents + irel->r_offset);
1267 && symtab_hdr->contents != (unsigned char *) isymbuf)
1274 symtab_hdr->contents = (unsigned char *) isymbuf;
1278 if (contents != NULL
1279 && elf_section_data (sec)->this_hdr.contents != contents)
1282 free (contents);
1285 /* Cache the section contents for elf_link_input_bfd. */
1286 elf_section_data (sec)->this_hdr.contents = contents;
1298 && symtab_hdr->contents != (unsigned char *) isymbuf)
1300 if (contents != NULL
1301 && elf_section_data (sec)->this_hdr.contents != contents)
1302 free (contents);