Lines Matching refs:contents

1307   BFD_ASSERT (sreloc->contents != NULL);  in score_elf_create_dynamic_relocation()
1391 (sreloc->contents + sreloc->reloc_count * sizeof (Elf32_External_Rel))); in score_elf_create_dynamic_relocation()
1524 score_bfd_put_32 (abfd, value, (sgot->contents + entry.gotidx)); in score_elf_create_local_got_entry()
1852 bfd_vma contents; in score_elf_add_to_rel() local
1857 contents = score_bfd_get_32 (abfd, address); in score_elf_add_to_rel()
1859 addend = contents & howto->src_mask; in score_elf_add_to_rel()
1873 (((contents & howto->src_mask) & 0x3ff0000) >> 6) | ((contents & howto->src_mask) & 0x3ff); in score_elf_add_to_rel()
1875 contents = in score_elf_add_to_rel()
1876 (contents & ~howto-> in score_elf_add_to_rel()
1878 score_bfd_put_32 (abfd, contents, address); in score_elf_add_to_rel()
1885 offset = ((((contents >> 16) & 0x3) << 15) | (contents & 0x7fff)) >> 1; in score_elf_add_to_rel()
1893 contents = (contents & (~(howto->dst_mask))) | (offset & 0x7fff) | ((offset << 1) & 0x30000); in score_elf_add_to_rel()
1894 score_bfd_put_32 (abfd, contents, address); in score_elf_add_to_rel()
1898 (((contents & howto->src_mask) >> 1) & 0x1ff8000) | ((contents & howto->src_mask) & 0x7fff); in score_elf_add_to_rel()
1900 contents = in score_elf_add_to_rel()
1901 (contents & ~howto-> in score_elf_add_to_rel()
1903 score_bfd_put_32 (abfd, contents, address); in score_elf_add_to_rel()
1908 contents = score_bfd_get_16 (abfd, address); in score_elf_add_to_rel()
1909 offset = contents & howto->src_mask; in score_elf_add_to_rel()
1911 contents = (contents & ~howto->src_mask) | (offset & howto->src_mask); in score_elf_add_to_rel()
1912 score_bfd_put_16 (abfd, contents, address); in score_elf_add_to_rel()
1917 contents = score_bfd_get_16 (abfd, address); in score_elf_add_to_rel()
1918 offset = (contents & howto->src_mask) + ((increment >> 1) & 0x1ff); in score_elf_add_to_rel()
1919 contents = (contents & (~howto->src_mask)) | (offset & howto->src_mask); in score_elf_add_to_rel()
1920 score_bfd_put_16 (abfd, contents, address); in score_elf_add_to_rel()
1925 contents = score_bfd_get_32 (abfd, address); in score_elf_add_to_rel()
1926 offset = (contents & howto->src_mask); in score_elf_add_to_rel()
1930 contents = (contents & (~howto->src_mask)) | (offset & howto->src_mask); in score_elf_add_to_rel()
1931 score_bfd_put_32 (abfd, contents, address); in score_elf_add_to_rel()
1935 contents = score_bfd_get_48 (abfd, address); in score_elf_add_to_rel()
1936 offset = (contents & howto->src_mask); in score_elf_add_to_rel()
1940 contents = (contents & (~howto->src_mask)) | (offset & howto->src_mask); in score_elf_add_to_rel()
1941 score_bfd_put_48 (abfd, contents, address); in score_elf_add_to_rel()
1945 contents = score_bfd_get_48 (abfd, address); in score_elf_add_to_rel()
1946 offset = (contents & howto->src_mask); in score_elf_add_to_rel()
1948 contents = (contents & (~howto->src_mask)) | (offset & howto->src_mask); in score_elf_add_to_rel()
1949 score_bfd_put_48 (abfd, contents, address); in score_elf_add_to_rel()
1954 contents = (contents & ~howto->dst_mask) | (addend & howto->dst_mask); in score_elf_add_to_rel()
1955 score_bfd_put_32 (abfd, contents, address); in score_elf_add_to_rel()
1966 bfd_byte *contents, in score_elf_final_link_relocate() argument
1979 bfd_byte *hit_data = contents + rel->r_offset; in score_elf_final_link_relocate()
2044 tmp = score_bfd_get_32 (input_bfd, contents + lo16_rel->r_offset); in score_elf_final_link_relocate()
2079 score_bfd_put_32 (tmpbfd, value, sgot->contents + g); in score_elf_final_link_relocate()
2398 bfd_byte *contents, in s3_bfd_score_elf_relocate_section() argument
2479 hi16_addend = score_bfd_get_32 (input_bfd, contents + rel->r_offset - 4); in s3_bfd_score_elf_relocate_section()
2481 value = score_bfd_get_32 (input_bfd, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2492 score_bfd_put_32 (input_bfd, hi16_value, contents + rel->r_offset - 4); in s3_bfd_score_elf_relocate_section()
2496 score_bfd_put_32 (input_bfd, value, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2501 value = score_bfd_get_48 (input_bfd, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2514 score_bfd_put_48 (input_bfd, value, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2521 value = score_bfd_get_48 (input_bfd, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2541 score_bfd_put_48 (input_bfd, value, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2550 value = score_bfd_get_32 (input_bfd, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2558 score_bfd_put_32 (input_bfd, value, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2563 value = bfd_get_32 (input_bfd, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2578 bfd_put_32 (input_bfd, value, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2582 value = score_bfd_get_32 (input_bfd, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2597 score_bfd_put_32 (input_bfd, value, contents + rel->r_offset); in s3_bfd_score_elf_relocate_section()
2682 rel, 1, relend, howto, 0, contents); in s3_bfd_score_elf_relocate_section()
2696 score_elf_add_to_rel (input_bfd, contents + rel->r_offset, in s3_bfd_score_elf_relocate_section()
2705 input_section, contents, rel, relocs, in s3_bfd_score_elf_relocate_section()
3274 s->contents = (bfd_byte *) ELF_DYNAMIC_INTERPRETER; in s3_bfd_score_elf_size_dynamic_sections()
3352 s->contents = bfd_zalloc (dynobj, s->size); in s3_bfd_score_elf_size_dynamic_sections()
3353 if (s->contents == NULL && s->size != 0) in s3_bfd_score_elf_size_dynamic_sections()
3515 memcpy (s->contents + h->plt.offset, stub, SCORE_FUNCTION_STUB_SIZE); in s3_bfd_score_elf_finish_dynamic_symbol()
3544 score_bfd_put_32 (output_bfd, value, sgot->contents + offset); in s3_bfd_score_elf_finish_dynamic_symbol()
3600 for (b = sdyn->contents; in s3_bfd_score_elf_finish_dynamic_sections()
3601 b < sdyn->contents + sdyn->size; in s3_bfd_score_elf_finish_dynamic_sections()
3690 score_bfd_put_32 (output_bfd, 0, sgot->contents); in s3_bfd_score_elf_finish_dynamic_sections()
3691 score_bfd_put_32 (output_bfd, 0x80000000, sgot->contents + SCORE_ELF_GOT_SIZE (output_bfd)); in s3_bfd_score_elf_finish_dynamic_sections()
3705 qsort ((Elf32_External_Rel *) s->contents + 1, s->reloc_count - 1, in s3_bfd_score_elf_finish_dynamic_sections()
3767 s3_bfd_score_elf_write_section (bfd *output_bfd, asection *sec, bfd_byte *contents) in s3_bfd_score_elf_write_section() argument
3778 to = contents; in s3_bfd_score_elf_write_section()
3779 end = contents + sec->size; in s3_bfd_score_elf_write_section()
3780 for (from = contents, i = 0; from < end; from += PDR_SIZE, i++) in s3_bfd_score_elf_write_section()
3790 bfd_set_section_contents (output_bfd, sec->output_section, contents, in s3_bfd_score_elf_write_section()
4099 bfd_byte *contents, in _bfd_score_elf_relocate_section() argument
4106 info, input_bfd, input_section, contents, relocs, in _bfd_score_elf_relocate_section()
4110 info, input_bfd, input_section, contents, relocs, in _bfd_score_elf_relocate_section()
4270 asection *sec, bfd_byte *contents) in _bfd_score_elf_write_section() argument
4273 return s3_bfd_score_elf_write_section (output_bfd, sec, contents); in _bfd_score_elf_write_section()
4275 return s7_bfd_score_elf_write_section (output_bfd, sec, contents); in _bfd_score_elf_write_section()