Home | History | Annotate | Download | only in bfd

Lines Matching refs:contents

33   bfd_byte *           contents;
346 bfd_byte *contents)
355 ip2k_get_mem (abfd, contents + addr, 4, code);
368 ip2k_get_mem (abfd, contents + addr - 4, 4, code);
426 bfd_byte *contents)
435 ip2k_get_mem (abfd, contents + addr, 4, code);
447 ip2k_get_mem (abfd, contents + addr - 16, 16, code);
483 bfd_byte *contents)
503 ip2k_get_mem (abfd, contents + addr, 2, code);
508 if (ip2k_is_switch_table_128 (abfd, sec, addr, contents) != -1)
512 if (ip2k_is_switch_table_256 (abfd, sec, addr, contents) != -1)
519 ip2k_get_mem (abfd, contents + addr - 2, 2, code);
551 contents))
586 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
634 /* Pull out the contents of the stab section. */
635 if (elf_section_data (stab)->this_hdr.contents != NULL)
636 stabcontents = elf_section_data (stab)->this_hdr.contents;
647 elf_section_data (stab)->this_hdr.contents = stabcontents;
790 bfd_byte *contents = elf_section_data (sec)->this_hdr.contents;
794 memmove (contents + addr, contents + addr + count,
810 /* Note that we've changed the relocs, section contents, etc. */
812 elf_section_data (sec)->this_hdr.contents = misc->contents;
813 misc->symtab_hdr->contents = (bfd_byte *) misc->isymbuf;
847 ip2k_get_mem (abfd, misc->contents + addr, 4, code);
875 ip2k_get_mem (abfd, misc->contents + irel->r_offset - 4, 4, code);
919 ip2k_get_mem (abfd, misc->contents + addr, 4, code);
948 ip2k_get_mem (abfd, misc->contents + irel->r_offset - 4, 2, code);
954 ip2k_get_mem (abfd, misc->contents + addr, 12, code);
1016 switch_table_128 = ip2k_is_switch_table_128 (abfd, sec, irel->r_offset, misc->contents);
1017 switch_table_256 = ip2k_is_switch_table_256 (abfd, sec, irel->r_offset, misc->contents);
1070 bfd_byte *contents = NULL;
1112 /* Get section contents cached copy if it exists. */
1113 if (contents == NULL)
1116 if (elf_section_data (sec)->this_hdr.contents != NULL)
1117 contents = elf_section_data (sec)->this_hdr.contents;
1121 if (!bfd_malloc_and_get_section (abfd, sec, &contents))
1129 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1141 misc.contents = contents;
1193 && symtab_hdr->contents != (unsigned char *) isymbuf)
1198 symtab_hdr->contents = (unsigned char *) isymbuf;
1201 if (contents != NULL
1202 && elf_section_data (sec)->this_hdr.contents != contents)
1205 free (contents);
1208 /* Cache the section contents for elf_link_input_bfd. */
1209 elf_section_data (sec)->this_hdr.contents = contents;
1221 && symtab_hdr->contents != (unsigned char *) isymbuf)
1223 if (contents != NULL
1224 && elf_section_data (sec)->this_hdr.contents != contents)
1225 free (contents);
1252 bfd_byte * contents,
1290 rel->r_offset, contents))
1301 rel->r_offset - 2, contents)
1303 rel->r_offset - 2, contents)
1306 rel->r_offset - 2, contents)))
1341 contents, rel->r_offset,
1356 This function is responsible for adjusting the section contents as
1382 bfd_byte *contents,
1440 rel, 1, relend, howto, 0, contents);
1447 contents, rel, relocation);