Lines Matching refs:contents

1047 				 input_section, contents, offset, value,  in mn10300_elf_final_link_relocate()  argument
1053 bfd_byte *contents;
1064 bfd_byte *hit_data = contents + offset;
1163 (bfd_byte *) (((Elf32_External_Rela *) sreloc->contents)
1300 sreloc->contents)
1458 sgot->contents + off);
1468 bfd_put_32 (output_bfd, value, sgot->contents + off);
1485 srelgot->contents)
1529 contents, relocs, local_syms, local_sections) in mn10300_elf_relocate_section() argument
1534 bfd_byte *contents;
1638 contents, rel->r_offset,
1811 bfd_byte *contents = NULL; local
1836 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1863 if (elf_section_data (section)->this_hdr.contents != NULL)
1864 contents = elf_section_data (section)->this_hdr.contents;
1868 contents = (bfd_byte *) bfd_malloc (section->_raw_size);
1869 if (contents == NULL)
1873 contents, (file_ptr) 0,
1878 contents = NULL;
1972 contents + irel->r_offset - 1);
2046 isym->st_value, contents);
2063 contents);
2074 if (contents != NULL
2075 && elf_section_data (section)->this_hdr.contents != contents)
2078 free (contents);
2082 elf_section_data (section)->this_hdr.contents = contents;
2085 contents = NULL;
2090 && symtab_hdr->contents != (unsigned char *) isymbuf)
2097 symtab_hdr->contents = (unsigned char *) isymbuf;
2127 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
2163 if (elf_section_data (section)->this_hdr.contents != NULL)
2164 contents = elf_section_data (section)->this_hdr.contents;
2168 contents = (bfd_byte *) bfd_malloc (section->_raw_size);
2169 if (contents == NULL)
2173 contents, (file_ptr) 0,
2236 elf_section_data (section)->this_hdr.contents = contents;
2237 symtab_hdr->contents = (unsigned char *) isymbuf;
2290 elf_section_data (section)->this_hdr.contents = contents;
2291 symtab_hdr->contents = (unsigned char *) isymbuf;
2330 if (contents != NULL
2331 && elf_section_data (section)->this_hdr.contents != contents)
2334 free (contents);
2338 elf_section_data (section)->this_hdr.contents = contents;
2341 contents = NULL;
2346 && symtab_hdr->contents != (unsigned char *) isymbuf)
2353 symtab_hdr->contents = (unsigned char *) isymbuf;
2361 contents = NULL;
2405 if (contents == NULL)
2408 if (elf_section_data (sec)->this_hdr.contents != NULL)
2409 contents = elf_section_data (sec)->this_hdr.contents;
2413 contents = (bfd_byte *) bfd_malloc (sec->_raw_size);
2414 if (contents == NULL)
2417 if (! bfd_get_section_contents (abfd, sec, contents,
2426 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
2539 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2547 elf_section_data (sec)->this_hdr.contents = contents;
2548 symtab_hdr->contents = (unsigned char *) isymbuf;
2551 bfd_put_8 (abfd, 0xfc, contents + irel->r_offset - 1);
2552 bfd_put_8 (abfd, 0xff, contents + irel->r_offset);
2575 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2581 bfd_put_8 (abfd, h->movm_args, contents + irel->r_offset + 4);
2583 contents + irel->r_offset + 5);
2600 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2607 elf_section_data (sec)->this_hdr.contents = contents;
2608 symtab_hdr->contents = (unsigned char *) isymbuf;
2612 bfd_put_8 (abfd, 0xcc, contents + irel->r_offset - 1);
2614 bfd_put_8 (abfd, 0xcd, contents + irel->r_offset - 1);
2616 bfd_put_8 (abfd, 0xfa, contents + irel->r_offset - 2);
2649 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2657 elf_section_data (sec)->this_hdr.contents = contents;
2658 symtab_hdr->contents = (unsigned char *) isymbuf;
2661 bfd_put_8 (abfd, 0xfa, contents + irel->r_offset - 1);
2662 bfd_put_8 (abfd, 0xff, contents + irel->r_offset);
2683 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2689 bfd_put_8 (abfd, h->movm_args, contents + irel->r_offset + 2);
2691 contents + irel->r_offset + 3);
2708 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2715 elf_section_data (sec)->this_hdr.contents = contents;
2716 symtab_hdr->contents = (unsigned char *) isymbuf;
2719 bfd_put_8 (abfd, 0xca, contents + irel->r_offset - 1);
2765 code = bfd_get_8 (abfd, contents + irel->r_offset + 1);
2790 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
2806 elf_section_data (sec)->this_hdr.contents = contents;
2807 symtab_hdr->contents = (unsigned char *) isymbuf;
2855 bfd_put_8 (abfd, code, contents + irel->r_offset - 1);
2891 code = bfd_get_8 (abfd, contents + irel->r_offset - 3);
2896 code = bfd_get_8 (abfd, contents + irel->r_offset - 2);
2915 elf_section_data (sec)->this_hdr.contents = contents;
2916 symtab_hdr->contents = (unsigned char *) isymbuf;
2919 bfd_put_8 (abfd, 0xfb, contents + irel->r_offset - 3);
2920 bfd_put_8 (abfd, code, contents + irel->r_offset - 2);
2993 code = bfd_get_8 (abfd, contents + irel->r_offset - 3);
2998 code = bfd_get_8 (abfd, contents + irel->r_offset - 2);
3020 elf_section_data (sec)->this_hdr.contents = contents;
3021 symtab_hdr->contents = (unsigned char *) isymbuf;
3024 bfd_put_8 (abfd, 0xfd, contents + irel->r_offset - 3);
3025 bfd_put_8 (abfd, code, contents + irel->r_offset - 2);
3069 code = bfd_get_8 (abfd, contents + irel->r_offset - 2);
3075 code = bfd_get_8 (abfd, contents + irel->r_offset - 1);
3105 elf_section_data (sec)->this_hdr.contents = contents;
3106 symtab_hdr->contents = (unsigned char *) isymbuf;
3109 bfd_put_8 (abfd, 0xfa, contents + irel->r_offset - 2);
3110 bfd_put_8 (abfd, code, contents + irel->r_offset - 1);
3147 elf_section_data (sec)->this_hdr.contents = contents;
3148 symtab_hdr->contents = (unsigned char *) isymbuf;
3160 bfd_put_8 (abfd, code, contents + irel->r_offset - 2);
3206 elf_section_data (sec)->this_hdr.contents = contents;
3207 symtab_hdr->contents = (unsigned char *) isymbuf;
3210 bfd_put_8 (abfd, 0xfa, contents + irel->r_offset - 2);
3211 bfd_put_8 (abfd, code, contents + irel->r_offset - 1);
3263 elf_section_data (sec)->this_hdr.contents = contents;
3264 symtab_hdr->contents = (unsigned char *) isymbuf;
3280 bfd_put_8 (abfd, code, contents + irel->r_offset - 2);
3349 elf_section_data (sec)->this_hdr.contents = contents;
3350 symtab_hdr->contents = (unsigned char *) isymbuf;
3353 bfd_put_8 (abfd, 0xfa, contents + irel->r_offset - 2);
3354 bfd_put_8 (abfd, code, contents + irel->r_offset - 1);
3385 elf_section_data (sec)->this_hdr.contents = contents;
3386 symtab_hdr->contents = (unsigned char *) isymbuf;
3389 bfd_put_8 (abfd, 0xfa, contents + irel->r_offset - 2);
3390 bfd_put_8 (abfd, 0xfe, contents + irel->r_offset - 1);
3420 && symtab_hdr->contents != (unsigned char *) isymbuf)
3427 symtab_hdr->contents = (unsigned char *) isymbuf;
3431 if (contents != NULL
3432 && elf_section_data (sec)->this_hdr.contents != contents)
3435 free (contents);
3439 elf_section_data (sec)->this_hdr.contents = contents;
3451 && symtab_hdr->contents != (unsigned char *) isymbuf)
3453 if (contents != NULL
3454 && elf_section_data (section)->this_hdr.contents != contents)
3455 free (contents);
3467 compute_function_info (abfd, hash, addr, contents) in compute_function_info() argument
3471 unsigned char *contents;
3484 byte1 = bfd_get_8 (abfd, contents + addr);
3485 byte2 = bfd_get_8 (abfd, contents + addr + 1);
3491 byte1 = bfd_get_8 (abfd, contents + addr);
3492 byte2 = bfd_get_8 (abfd, contents + addr + 1);
3540 int temp = bfd_get_8 (abfd, contents + addr + 2);
3547 int temp = bfd_get_16 (abfd, contents + addr + 2);
3575 bfd_byte *contents; local
3586 contents = elf_section_data (sec)->this_hdr.contents;
3598 memmove (contents + addr, contents + addr + count,
3613 isym = (Elf_Internal_Sym *) symtab_hdr->contents;
3710 || elf_section_data (input_section)->this_hdr.contents == NULL)
3718 memcpy (data, elf_section_data (input_section)->this_hdr.contents,
3736 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
3775 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
3786 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
4365 s->contents = (unsigned char *) ELF_DYNAMIC_INTERPRETER;
4480 s->contents = (bfd_byte *) bfd_zalloc (dynobj, s->_raw_size);
4481 if (s->contents == NULL && s->_raw_size != 0)
4574 memcpy (splt->contents + h->plt.offset, elf_mn10300_plt_entry,
4580 (splt->contents + h->plt.offset
4585 (splt->contents + h->plt.offset
4590 memcpy (splt->contents + h->plt.offset, elf_mn10300_pic_plt_entry,
4594 (splt->contents + h->plt.offset
4599 (splt->contents + h->plt.offset
4608 sgot->contents + got_offset);
4617 (bfd_byte *) ((Elf32_External_Rela *) srel->contents
4658 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset);
4664 (bfd_byte *) ((Elf32_External_Rela *) srel->contents
4689 (bfd_byte *) ((Elf32_External_Rela *) s->contents
4727 dyncon = (Elf32_External_Dyn *) sdyn->contents;
4728 dynconend = (Elf32_External_Dyn *) (sdyn->contents + sdyn->_raw_size);
4795 memcpy (splt->contents, elf_mn10300_pic_plt_entry,
4800 memcpy (splt->contents, elf_mn10300_plt0_entry, PLT0_ENTRY_SIZE);
4803 splt->contents + elf_mn10300_plt0_gotid_offset (info));
4806 splt->contents + elf_mn10300_plt0_linker_offset (info));
4819 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents);
4823 sgot->contents);
4824 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 4);
4825 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 8);