Lines Matching defs:contents

2661       s->contents = foo;
2676 s->contents = foo;
2692 s->contents = foo;
3015 will prevent elf_link_input_bfd() from processing the contents
3116 bfd_byte *contents = NULL;
3184 /* Get the section contents if we haven't done so already. */
3185 if (contents == NULL)
3188 if (elf_section_data (sec)->this_hdr.contents != NULL)
3189 contents = elf_section_data (sec)->this_hdr.contents;
3193 if (! bfd_malloc_and_get_section (abfd, sec, &contents))
3248 if (contents != NULL
3249 && elf_section_data (sec)->this_hdr.contents != contents)
3250 free (contents);
3251 contents = NULL;
3262 if (contents != NULL
3263 && elf_section_data (sec)->this_hdr.contents != contents)
3264 free (contents);
3624 bfd_byte *contents = NULL;
3690 if (elf_section_data (sec)->this_hdr.contents != NULL)
3691 contents = elf_section_data (sec)->this_hdr.contents;
3692 else if (! bfd_malloc_and_get_section (abfd, sec, &contents))
3714 ? (contents[i] << 24)
3715 | (contents[i + 1] << 16)
3716 | (contents[i + 2] << 8)
3717 | contents[i + 3]
3718 : (contents[i + 3] << 24)
3719 | (contents[i + 2] << 16)
3720 | (contents[i + 1] << 8)
3721 | contents[i];
3813 if (contents != NULL
3814 && elf_section_data (sec)->this_hdr.contents != contents)
3815 free (contents);
3816 contents = NULL;
3822 if (contents != NULL
3823 && elf_section_data (sec)->this_hdr.contents != contents)
3824 free (contents);
4070 BFD_ASSERT (s->contents != NULL);
4091 s->contents + my_offset);
4094 s->contents + my_offset + 2);
4114 s->contents + my_offset + 4);
4192 s->contents + my_offset);
4194 s->contents + my_offset + 4);
4196 s->contents + my_offset + 8);
4204 s->contents + my_offset + 12);
4209 s->contents + my_offset);
4213 s->contents + my_offset + 4);
4218 s->contents + my_offset);
4221 s->contents + my_offset + 4);
4225 s->contents + my_offset + 8);
4264 BFD_ASSERT (s->contents != NULL);
4319 BFD_ASSERT (s->contents != NULL);
4505 bfd_byte * contents,
4518 bfd_byte * hit_data = contents + rel->r_offset;
4619 contents, rel->r_offset, value,
4737 loc = sreloc->contents;
4748 contents, rel->r_offset, value,
5414 contents, rel->r_offset, value,
5427 contents, rel->r_offset, value,
5472 bfd_put_32 (output_bfd, value, sgot->contents + off);
5505 bfd_put_32 (output_bfd, value, sgot->contents + off);
5522 loc = srelgot->contents;
5536 contents, rel->r_offset, value,
5543 contents, rel->r_offset, value,
5576 globals->sgot->contents + off);
5578 loc = globals->srelgot->contents;
5583 bfd_put_32 (output_bfd, 1, globals->sgot->contents + off);
5592 contents, rel->r_offset, value,
5653 loc = globals->srelgot->contents;
5669 globals->sgot->contents + cur_off);
5677 globals->sgot->contents + cur_off + 4);
5687 globals->sgot->contents + cur_off + 4);
5703 globals->sgot->contents + cur_off);
5705 globals->sgot->contents + cur_off + 4);
5726 globals->sgot->contents + cur_off);
5734 globals->sgot->contents + cur_off);
5750 contents, rel->r_offset, value,
5767 contents, rel->r_offset, value,
6310 bfd_vma contents;
6312 contents = bfd_get_32 (abfd, address);
6315 addend = contents & howto->src_mask;
6346 contents = (contents & ~ howto->dst_mask) | (addend & howto->dst_mask);
6348 bfd_put_32 (abfd, contents, address);
6368 bfd_byte * contents,
6443 value = bfd_get_32 (input_bfd, contents + rel->r_offset);
6461 bfd_put_32 (input_bfd, value, contents + rel->r_offset);
6483 section contents zeroed. Avoid any special processing. */
6484 _bfd_clear_contents (howto, input_bfd, contents + rel->r_offset);
6499 arm_add_to_rel (input_bfd, contents + rel->r_offset,
6536 input_section, contents, rel,
8047 will fill in the contents of the procedure linkage table later,
8525 /* Set the contents of the .interp section to the interpreter. */
8531 s->contents = (unsigned char *) ELF_DYNAMIC_INTERPRETER;
8693 /* Allocate memory for the section contents. */
8694 s->contents = (bfd_byte *) bfd_zalloc (dynobj, s->size);
8695 if (s->contents == NULL)
8760 /* Finish up dynamic symbol handling. We set the contents of various
8797 splt->contents + h->plt.offset);
8800 splt->contents + h->plt.offset + 4);
8846 ptr = htab->splt->contents + h->plt.offset;
8885 loc = (htab->srelplt2->contents
8942 sgot->contents + got_offset);
8950 loc = srel->contents + plt_index * RELOC_SIZE (htab);
9001 rel.r_addend = bfd_get_32 (output_bfd, sgot->contents + offset);
9002 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + offset);
9008 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + offset);
9012 loc = srel->contents + srel->reloc_count++ * RELOC_SIZE (htab);
9036 loc = s->contents + s->reloc_count++ * RELOC_SIZE (htab);
9075 dyncon = (Elf32_External_Dyn *) sdyn->contents;
9076 dynconend = (Elf32_External_Dyn *) (sdyn->contents + sdyn->size);
9245 splt->contents + 0);
9247 splt->contents + 4);
9249 splt->contents + 8);
9250 bfd_put_32 (output_bfd, got_address, splt->contents + 12);
9257 htab->srelplt2->contents);
9265 splt->contents + 0);
9267 splt->contents + 4);
9269 splt->contents + 8);
9271 splt->contents + 12);
9276 bfd_put_32 (output_bfd, got_displacement, splt->contents + 28);
9278 bfd_put_32 (output_bfd, got_displacement, splt->contents + 16);
9297 p = htab->srelplt2->contents + RELOC_SIZE (htab);
9322 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents);
9326 sgot->contents);
9327 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 4);
9328 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 8);
9806 bfd_byte *contents)
9861 contents[endianflip ^ index] = insn & 0xff;
9862 contents[endianflip ^ (index + 1)] = (insn >> 8) & 0xff;
9863 contents[endianflip ^ (index + 2)] = (insn >> 16) & 0xff;
9864 contents[endianflip ^ (index + 3)] = (insn >> 24) & 0xff;
9884 contents[endianflip ^ index] = insn & 0xff;
9885 contents[endianflip ^ (index + 1)] = (insn >> 8) & 0xff;
9886 contents[endianflip ^ (index + 2)] = (insn >> 16) & 0xff;
9887 contents[endianflip ^ (index + 3)] = (insn >> 24) & 0xff;
9891 contents[endianflip ^ (index + 4)] = insn & 0xff;
9892 contents[endianflip ^ (index + 5)] = (insn >> 8) & 0xff;
9893 contents[endianflip ^ (index + 6)] = (insn >> 16) & 0xff;
9894 contents[endianflip ^ (index + 7)] = (insn >> 24) & 0xff;
9925 tmp = contents[ptr];
9926 contents[ptr] = contents[ptr + 3];
9927 contents[ptr + 3] = tmp;
9928 tmp = contents[ptr + 1];
9929 contents[ptr + 1] = contents[ptr + 2];
9930 contents[ptr + 2] = tmp;
9939 tmp = contents[ptr];
9940 contents[ptr] = contents[ptr + 1];
9941 contents[ptr + 1] = tmp;