Lines Matching refs:contents

302 			    asection * input_section, bfd_byte * contents,
312 contents += rel->r_offset;
330 x = bfd_get_16 (input_bfd, contents);
332 bfd_put_16 (input_bfd, x, contents);
336 contents += rel->r_offset;
354 x = bfd_get_16 (input_bfd, contents);
356 bfd_put_16 (input_bfd, x, contents);
358 x = bfd_get_16 (input_bfd, contents - 2);
361 bfd_put_16 (input_bfd, x, contents - 2);
366 contents += rel->r_offset;
377 bfd_put_16 (input_bfd, srel & 0xffff, contents);
381 contents += rel->r_offset;
389 bfd_put_16 (input_bfd, srel & 0xffff, contents);
393 contents += rel->r_offset;
396 bfd_put_16 (input_bfd, srel & 0xffff, contents);
400 contents += rel->r_offset;
407 bfd_put_16 (input_bfd, srel & 0xffff, contents);
412 contents, rel->r_offset,
426 bfd_byte * contents,
482 contents, rel, relocation);
835 bfd_byte *contents;
848 contents = elf_section_data (sec)->this_hdr.contents;
860 memmove (contents + addr, contents + addr + count,
872 isym = (Elf_Internal_Sym *) symtab_hdr->contents;
908 bfd_byte * contents = NULL;
941 /* Get the section contents if we haven't done so already. */
942 if (contents == NULL)
945 if (elf_section_data (sec)->this_hdr.contents != NULL)
946 contents = elf_section_data (sec)->this_hdr.contents;
947 else if (! bfd_malloc_and_get_section (abfd, sec, &contents))
954 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1005 contents, the section relocs, and the BFD symbol table. We
1035 code0 = bfd_get_16 (abfd, contents + irel->r_offset - 6);
1038 code1 = bfd_get_16 (abfd, contents + irel->r_offset - 4);
1040 code2 = bfd_get_16 (abfd, contents + irel->r_offset - 2);
1079 /* Note that we've changed the relocs, section contents, etc. */
1081 elf_section_data (sec)->this_hdr.contents = contents;
1082 symtab_hdr->contents = (unsigned char *) isymbuf;
1093 bfd_put_16 (abfd, rx->t0, contents + irel->r_offset - rx->off);
1096 contents + irel->r_offset - rx->off + 2);
1115 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
1122 symtab_hdr->contents = (unsigned char *) isymbuf;
1126 if (contents != NULL
1127 && elf_section_data (sec)->this_hdr.contents != contents)
1130 free (contents);
1133 /* Cache the section contents for elf_link_input_bfd. */
1134 elf_section_data (sec)->this_hdr.contents = contents;
1145 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
1147 if (contents != NULL
1148 && elf_section_data (sec)->this_hdr.contents != contents)
1149 free (contents);