Lines Matching defs:contents

264   shstrtab = (char *) i_shdrp[shindex]->contents;
271 i_shdrp[shindex]->contents = shstrtab;
288 if (hdr->contents == NULL
304 return ((char *) hdr->contents) + strindex;
421 /* Elf_Internal_Shdr->contents is an array of these for SHT_GROUP
504 /* Read the raw contents. */
507 shdr->contents = bfd_alloc (abfd, amt);
508 if (shdr->contents == NULL
510 || (bfd_bread (shdr->contents, shdr->sh_size, abfd)
514 /* Translate raw contents, a flag word followed by an
518 src = shdr->contents + shdr->sh_size;
519 dest = (Elf_Internal_Group *) (shdr->contents + amt);
527 if (src == shdr->contents)
555 Elf_Internal_Group *idx = (Elf_Internal_Group *) shdr->contents;
568 idx = (Elf_Internal_Group *) shdr->contents;
627 Elf_Internal_Group *idx = (Elf_Internal_Group *) shdr->contents;
1740 case SHT_PROGBITS: /* Normal section with contents. */
2014 if (hdr->contents != NULL)
2016 Elf_Internal_Group *idx = (Elf_Internal_Group *) hdr->contents;
2468 this_hdr->contents = NULL;
2623 /* Fill in the contents of a SHT_GROUP section. */
2654 /* The contents won't be allocated for "ld -r" or objcopy. */
2656 if (sec->contents == NULL)
2659 sec->contents = bfd_alloc (abfd, sec->size);
2662 elf_section_data (sec)->this_hdr.contents = sec->contents;
2663 if (sec->contents == NULL)
2670 loc = sec->contents + sec->size;
2715 if ((loc -= 4) != sec->contents)
3929 number of sections with contents contributing to both p_filesz
3930 and p_memsz, followed by a number of sections with no contents
3933 an adjustment we use for segments that have no file contents
4189 section contents to write into. Eventually, we get
4191 section with contents to the output. Make room
4722 if (i_shdrp[count]->contents)
4727 || bfd_bwrite (i_shdrp[count]->contents, amt, abfd) != amt)
5508 contents have been set, which means that the program headers have
5616 symtab_hdr->contents = outbound_syms;
5630 symtab_shndx_hdr->contents = outbound_shndx;
5637 /* Now generate the data (for "contents"). */
6035 bfd_byte *contents = NULL;
6050 contents = bfd_malloc (hdr->sh_size);
6051 if (contents == NULL)
6054 || bfd_bread (contents, hdr->sh_size, abfd) != hdr->sh_size)
6060 everdef = (Elf_External_Verdef *) contents;
6080 everdef = (Elf_External_Verdef *) contents;
6133 free (contents);
6134 contents = NULL;
6153 contents = bfd_malloc (hdr->sh_size);
6154 if (contents == NULL)
6157 || bfd_bread (contents, hdr->sh_size, abfd) != hdr->sh_size)
6160 everneed = (Elf_External_Verneed *) contents;
6213 free (contents);
6214 contents = NULL;
6220 if (contents != NULL)
6221 free (contents);
6631 Both pseudosections have identical contents. */
6741 /* Create a pseudosection containing the exact contents of NOTE. */
6762 type of 5 (NT_PRXFPREG). Just include the whole note's contents