| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | elf-strtab.c | 151 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_add() 163 BFD_ASSERT (entry->len > 0); in _bfd_elf_strtab_add() 184 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_addref() 185 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_addref() 194 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_delref() 195 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_delref() 196 BFD_ASSERT (tab->array[idx]->refcount > 0); in _bfd_elf_strtab_delref() 222 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_offset() 223 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_offset() 225 BFD_ASSERT (entry->refcount > 0); in _bfd_elf_strtab_offset() [all …]
|
| H A D | coff-arm.c | 1026 BFD_ASSERT (tmp_name); in find_thumb_glue() 1055 BFD_ASSERT (tmp_name); in find_arm_glue() 1800 BFD_ASSERT (s != NULL); in bfd_arm_allocate_interworking_sections() 1815 BFD_ASSERT (s != NULL); in bfd_arm_allocate_interworking_sections() 1847 BFD_ASSERT (s != NULL); in record_arm_to_thumb_glue() 1852 BFD_ASSERT (tmp_name); in record_arm_to_thumb_glue() 1903 BFD_ASSERT (s != NULL); in record_thumb_to_arm_glue() 1908 BFD_ASSERT (tmp_name); in record_thumb_to_arm_glue() 1941 BFD_ASSERT (tmp_name); in record_thumb_to_arm_glue() 2057 BFD_ASSERT (i != 0); in bfd_arm_process_before_allocation() [all …]
|
| H A D | elf32-i386.c | 2652 BFD_ASSERT (rel->r_offset >= 2); in elf_i386_relocate_section() 2659 BFD_ASSERT (rel + 1 < relend); in elf_i386_relocate_section() 2726 BFD_ASSERT (roff >= 2); in elf_i386_relocate_section() 2728 BFD_ASSERT (type == 0x8d); in elf_i386_relocate_section() 2757 BFD_ASSERT (type == 0xff); in elf_i386_relocate_section() 2759 BFD_ASSERT (val == 0x10); in elf_i386_relocate_section() 3115 BFD_ASSERT (roff >= 2); in elf_i386_relocate_section() 3117 BFD_ASSERT (type == 0x8d); in elf_i386_relocate_section() 3161 BFD_ASSERT (type == 0xff); in elf_i386_relocate_section() 3163 BFD_ASSERT (val == 0x10); in elf_i386_relocate_section() [all …]
|
| H A D | elf64-x86-64.c | 2473 BFD_ASSERT (sindx != 0); in elf64_x86_64_relocate_section() 2546 BFD_ASSERT (rel + 1 < relend); in elf64_x86_64_relocate_section() 2575 BFD_ASSERT (roff >= 3); in elf64_x86_64_relocate_section() 2579 BFD_ASSERT (type2 == 0x8d); in elf64_x86_64_relocate_section() 2609 BFD_ASSERT (type == 0xff); in elf64_x86_64_relocate_section() 2611 BFD_ASSERT (val == 0x10); in elf64_x86_64_relocate_section() 2862 BFD_ASSERT (roff >= 3); in elf64_x86_64_relocate_section() 2903 BFD_ASSERT (type == 0xff); in elf64_x86_64_relocate_section() 2905 BFD_ASSERT (val == 0x10); in elf64_x86_64_relocate_section() 2915 BFD_ASSERT (FALSE); in elf64_x86_64_relocate_section() [all …]
|
| H A D | sunos.c | 1330 BFD_ASSERT (sgot != NULL); in sunos_scan_std_relocs() 1819 BFD_ASSERT (s != NULL); in sunos_scan_dynamic_symbol() 1838 BFD_ASSERT (s != NULL); in sunos_scan_dynamic_symbol() 1941 BFD_ASSERT (s != NULL); in bfd_sunos_size_dynamic_sections() 1958 BFD_ASSERT (s != NULL); in bfd_sunos_size_dynamic_sections() 1972 BFD_ASSERT (s != NULL); in bfd_sunos_size_dynamic_sections() 2036 BFD_ASSERT (s != NULL); in bfd_sunos_size_dynamic_sections() 2305 BFD_ASSERT (s != NULL); in sunos_write_dynamic_symbol() 2607 BFD_ASSERT (s != NULL); in sunos_check_dynamic_reloc() 2705 BFD_ASSERT (sdyn != NULL); in sunos_finish_dynamic_link() [all …]
|
| H A D | elf32-score.c | 973 BFD_ASSERT (sgot != NULL); in score_elf_got_info() 976 BFD_ASSERT (g != NULL); in score_elf_got_info() 1168 BFD_ASSERT (s != NULL); in score_elf_allocate_dynamic_relocations() 1202 BFD_ASSERT (sreloc != NULL); in score_elf_create_dynamic_relocation() 2816 BFD_ASSERT (dynobj != NULL in _bfd_score_elf_adjust_dynamic_symbol() 2980 BFD_ASSERT (dynobj != NULL); in _bfd_score_elf_size_dynamic_sections() 3219 BFD_ASSERT (s != NULL); in _bfd_score_elf_finish_dynamic_symbol() 3247 BFD_ASSERT (sgot != NULL); in _bfd_score_elf_finish_dynamic_symbol() 3250 BFD_ASSERT (g != NULL); in _bfd_score_elf_finish_dynamic_symbol() 3307 BFD_ASSERT (g != NULL); in _bfd_score_elf_finish_dynamic_sections() [all …]
|
| H A D | elfxx-mips.c | 2098 BFD_ASSERT (g != NULL); in mips_elf_got_info() 2675 BFD_ASSERT (p); in mips_elf_create_local_got_entry() 2848 BFD_ASSERT (g != NULL); in mips_elf_record_global_got_symbol() 3377 BFD_ASSERT (g->next); in mips_elf_adjust_gp() 4732 BFD_ASSERT (s != NULL); in mips_elf_allocate_dynamic_relocations() 6050 BFD_ASSERT (s != NULL); in _bfd_mips_elf_create_dynamic_sections() 6387 BFD_ASSERT (g != NULL); in _bfd_mips_elf_check_relocs() 6980 BFD_ASSERT (s != NULL); in _bfd_mips_elf_adjust_dynamic_symbol() 7343 BFD_ASSERT (s != NULL); in _bfd_mips_elf_size_dynamic_sections() 8256 BFD_ASSERT (g != NULL); in _bfd_mips_elf_finish_dynamic_symbol() [all …]
|
| H A D | elf32-arm.c | 2518 BFD_ASSERT (tmp_name); in find_thumb_glue() 2551 BFD_ASSERT (tmp_name); in find_arm_glue() 2714 BFD_ASSERT (s != NULL); in record_arm_to_thumb_glue() 2718 BFD_ASSERT (tmp_name); in record_arm_to_thumb_glue() 2781 BFD_ASSERT (s != NULL); in record_thumb_to_arm_glue() 2786 BFD_ASSERT (tmp_name); in record_thumb_to_arm_glue() 2820 BFD_ASSERT (tmp_name); in record_thumb_to_arm_glue() 2898 BFD_ASSERT (s != NULL); in record_vfp11_erratum_veneer() 2903 BFD_ASSERT (tmp_name); in record_vfp11_erratum_veneer() 4062 BFD_ASSERT (s != NULL); in elf32_thumb_to_arm_stub() [all …]
|
| H A D | elf64-alpha.c | 2754 BFD_ASSERT (s != NULL); in elf64_alpha_size_dynamic_sections() 2986 BFD_ASSERT (0); in elf64_alpha_relax_got_load() 3437 BFD_ASSERT (lit_gotent); in elf64_alpha_relax_tls_get_addr() 3752 BFD_ASSERT (h != NULL); in elf64_alpha_relax_section() 3898 BFD_ASSERT (srel != NULL); in elf64_alpha_emit_dynrel() 4227 BFD_ASSERT(gp != 0); in elf64_alpha_relocate_section() 4243 BFD_ASSERT(gp != 0); in elf64_alpha_relocate_section() 4279 BFD_ASSERT(gp != 0); in elf64_alpha_relocate_section() 4291 BFD_ASSERT(gp != 0); in elf64_alpha_relocate_section() 4551 BFD_ASSERT(gp != 0); in elf64_alpha_relocate_section() [all …]
|
| H A D | stabs.c | 358 BFD_ASSERT (num_chars == (bfd_vma) (symb_rover - symb)); in _bfd_link_section_stabs() 487 BFD_ASSERT (offset != 0); in _bfd_link_section_stabs() 641 BFD_ASSERT (offset != 0); in _bfd_discard_section_stabs() 679 BFD_ASSERT (e->offset < stabsec->rawsize); in _bfd_write_section_stabs() 705 BFD_ASSERT (sym == contents); in _bfd_write_section_stabs() 717 BFD_ASSERT ((bfd_size_type) (tosym - contents) == stabsec->size); in _bfd_write_section_stabs() 733 BFD_ASSERT ((sinfo->stabstr->output_offset in _bfd_write_stab_strings()
|
| H A D | coff-alpha.c | 465 BFD_ASSERT (size == sec->size 545 BFD_ASSERT (bfd_header_little_endian (abfd)); 615 BFD_ASSERT (intern->r_extern 621 BFD_ASSERT (bfd_header_little_endian (abfd)); 688 BFD_ASSERT (intern->r_offset <= 256); 925 BFD_ASSERT (((insn >> 26) & 0x3f) == 0x29 1279 BFD_ASSERT (info->relocatable); 1520 BFD_ASSERT (bfd_header_little_endian (output_bfd)); 1521 BFD_ASSERT (bfd_header_little_endian (input_bfd)); 1640 BFD_ASSERT (((insn >> 26) & 0x3f) == 0x29 [all …]
|
| H A D | elf64-mips.c | 1791 BFD_ASSERT(src[0].r_offset == src[1].r_offset); in mips_elf64_be_swap_reloc_out() 1812 BFD_ASSERT(src[0].r_offset == src[1].r_offset); in mips_elf64_be_swap_reloca_out() 1813 BFD_ASSERT(src[0].r_offset == src[2].r_offset); in mips_elf64_be_swap_reloca_out() 1818 BFD_ASSERT(src[1].r_addend == 0); in mips_elf64_be_swap_reloca_out() 1819 BFD_ASSERT(src[2].r_addend == 0); in mips_elf64_be_swap_reloca_out() 2297 BFD_ASSERT (r_type < (unsigned int) R_MIPS_max); in mips_elf64_rtype_to_howto() 2313 BFD_ASSERT (0); in mips_elf64_info_to_howto_rel() 2321 BFD_ASSERT (0); in mips_elf64_info_to_howto_rela() 2528 BFD_ASSERT (0); in mips_elf64_slurp_one_reloc_table() 2532 BFD_ASSERT (0); in mips_elf64_slurp_one_reloc_table() [all …]
|
| H A D | bout.c | 561 BFD_ASSERT (IS_BALNAME (balsym->other)); in calljx_callback() 605 BFD_ASSERT (IS_BALNAME (balsym->other)); in callj_callback() 622 BFD_ASSERT (! shrinking); in callj_callback() 826 BFD_ASSERT (FALSE); in b_out_slurp_reloc_table() 1023 BFD_ASSERT (s != (asymbol **) NULL); in perform_slip() 1043 BFD_ASSERT (h->root.type == bfd_link_hash_defined); in perform_slip() 1045 BFD_ASSERT (h->root.u.def.value == p->value); in perform_slip() 1235 BFD_ASSERT (bfd_get_section_contents (input_bfd, in b_out_bfd_get_relocated_section_contents() 1265 BFD_ASSERT (reloc->address >= src_address); in b_out_bfd_get_relocated_section_contents() 1304 BFD_ASSERT (reloc->addend >= src_address); in b_out_bfd_get_relocated_section_contents() [all …]
|
| H A D | reloc16.c | 110 BFD_ASSERT (s != (asymbol **) NULL); 128 BFD_ASSERT (h->root.type == bfd_link_hash_defined 131 BFD_ASSERT (h->root.u.def.value == p->value);
|
| H A D | opncls.c | 1130 BFD_ASSERT (abfd); in get_debug_link_info() 1131 BFD_ASSERT (crc32_out); in get_debug_link_info() 1177 BFD_ASSERT (name); in separate_debug_file_exists() 1217 BFD_ASSERT (abfd); in find_separate_debug_file() 1241 BFD_ASSERT (strlen (dir) != 0); in find_separate_debug_file() 1249 BFD_ASSERT (dir[i] == '/' || dir[0] == '\0'); in find_separate_debug_file()
|
| H A D | xcofflink.c | 1632 BFD_ASSERT (section != NULL); in xcoff_link_add_symbols() 2515 BFD_ASSERT (h->ldsym == NULL); in bfd_xcoff_import_symbol() 2919 BFD_ASSERT (h->ldsym == NULL); in xcoff_build_ldsyms() 3479 BFD_ASSERT (isymp->n_numaux > 0); in xcoff_link_input_bfd() 3569 BFD_ASSERT (h->ldindx >= 0); in xcoff_link_input_bfd() 3862 BFD_ASSERT (h != NULL); in xcoff_link_input_bfd() 4712 BFD_ASSERT (h->ldindx >= 0); in xcoff_write_global_symbol() 4784 BFD_ASSERT (h->ldindx >= 0); in xcoff_write_global_symbol() 4911 BFD_ASSERT (hentry != NULL in xcoff_write_global_symbol() 5506 BFD_ASSERT (o->size == 0); in _bfd_xcoff_bfd_final_link() [all …]
|
| H A D | elf32-ppc.c | 2927 BFD_ASSERT (lsect != NULL); in elf_create_pointer_linker_section() 4464 BFD_ASSERT (s != NULL); in ppc_elf_adjust_dynamic_symbol() 4935 BFD_ASSERT (s != NULL); in ppc_elf_size_dynamic_sections() 5620 BFD_ASSERT (i == 0); in ppc_elf_relax_section() 5696 BFD_ASSERT (lsect != NULL); in elf_finish_pointer_linker_section() 6637 BFD_ASSERT (indx != 0); in ppc_elf_relocate_section() 6740 BFD_ASSERT (sec != NULL); in ppc_elf_relocate_section() 6782 BFD_ASSERT (sec != NULL); in ppc_elf_relocate_section() 6810 BFD_ASSERT (sec != NULL); in ppc_elf_relocate_section() 6901 BFD_ASSERT (sec != NULL); in ppc_elf_relocate_section() [all …]
|
| H A D | elfxx-ia64.c | 1045 BFD_ASSERT (h != NULL); 2444 BFD_ASSERT (!create); 2576 BFD_ASSERT (got); 2621 BFD_ASSERT (0); 2640 BFD_ASSERT (0); 2678 BFD_ASSERT (0); 3622 BFD_ASSERT(dynobj != NULL); 3630 BFD_ASSERT (sec != NULL); 4098 BFD_ASSERT (dynindx != -1); 4243 BFD_ASSERT (FALSE); [all …]
|
| H A D | elf-eh-frame.c | 1108 BFD_ASSERT (lo < hi); in _bfd_elf_eh_frame_section_offset() 1181 BFD_ASSERT (ptr_size != 0); in _bfd_elf_write_section_eh_frame() 1251 BFD_ASSERT (ent == sec_info->entry + sec_info->count - 1); in _bfd_elf_write_section_eh_frame() 1313 BFD_ASSERT (action & 1); in _bfd_elf_write_section_eh_frame() 1325 BFD_ASSERT (*buf == ent->lsda_encoding); in _bfd_elf_write_section_eh_frame() 1334 BFD_ASSERT (per_width != 0); in _bfd_elf_write_section_eh_frame() 1335 BFD_ASSERT (((per_encoding & 0x70) == DW_EH_PE_pcrel) in _bfd_elf_write_section_eh_frame() 1357 BFD_ASSERT (*buf == ent->fde_encoding); in _bfd_elf_write_section_eh_frame() 1392 BFD_ASSERT (hdr_info == NULL); in _bfd_elf_write_section_eh_frame() 1398 BFD_ASSERT (got != NULL); in _bfd_elf_write_section_eh_frame()
|
| H A D | cpu-spu.c | 27 BFD_ASSERT (a->arch == bfd_arch_spu); in spu_compatible()
|
| H A D | elfxx-sparc.c | 889 BFD_ASSERT (htab->sgot != NULL); in create_got_section() 2128 BFD_ASSERT (dynobj != NULL); in _bfd_sparc_elf_size_dynamic_sections() 2136 BFD_ASSERT (s != NULL); in _bfd_sparc_elf_size_dynamic_sections() 2641 BFD_ASSERT (s != NULL); in _bfd_sparc_elf_relocate_section() 2691 BFD_ASSERT (h != NULL); in _bfd_sparc_elf_relocate_section() 2785 BFD_ASSERT (sreloc != NULL); in _bfd_sparc_elf_relocate_section() 2849 BFD_ASSERT (h->dynindx != -1); in _bfd_sparc_elf_relocate_section() 3096 BFD_ASSERT (sreloc != NULL); in _bfd_sparc_elf_relocate_section() 3182 BFD_ASSERT (h != NULL); in _bfd_sparc_elf_relocate_section() 3654 BFD_ASSERT (h->dynindx != -1); in _bfd_sparc_elf_finish_dynamic_symbol() [all …]
|
| H A D | linker.c | 623 BFD_ASSERT (h->u.undef.next == NULL); in bfd_link_add_undef() 1620 BFD_ASSERT (h->type == bfd_link_hash_common); in _bfd_generic_link_add_one_symbol() 1751 BFD_ASSERT (h->type == bfd_link_hash_common); in _bfd_generic_link_add_one_symbol() 1855 BFD_ASSERT (h->type == bfd_link_hash_common); in _bfd_generic_link_add_one_symbol() 2076 BFD_ASSERT ((unsigned long) reloc_count in _bfd_generic_final_link() 2284 BFD_ASSERT (bfd_is_und_section (sym->section)); in _bfd_generic_link_output_symbols() 2405 BFD_ASSERT ((sym->flags & BSF_CONSTRUCTOR) != 0); in set_symbol_from_hash() 2438 BFD_ASSERT (bfd_is_und_section (sym->section)); in set_symbol_from_hash() 2666 BFD_ASSERT ((sec->flags & SEC_HAS_CONTENTS) != 0); in default_data_link_order() 2722 BFD_ASSERT ((output_section->flags & SEC_HAS_CONTENTS) != 0); in default_indirect_link_order() [all …]
|
| H A D | peicode.h | 473 BFD_ASSERT (vars->relcount <= NUM_ILF_RELOCS); in pe_ILF_make_a_symbol_reloc() 510 BFD_ASSERT ((bfd_byte *) vars->int_reltab < (bfd_byte *) vars->string_table); in pe_ILF_save_relocs() 544 BFD_ASSERT (vars->sym_index < NUM_ILF_SYMS); in pe_ILF_make_a_symbol() 588 BFD_ASSERT (vars->string_ptr < vars->end_string_ptr); in pe_ILF_make_a_symbol() 613 BFD_ASSERT (vars->data + size < vars->bim->buffer + vars->bim->size); in pe_ILF_make_a_section() 635 BFD_ASSERT (vars->data <= vars->bim->buffer + vars->bim->size); in pe_ILF_make_a_section()
|
| H A D | cpu-rs6000.c | 38 BFD_ASSERT (a->arch == bfd_arch_rs6000);
|
| H A D | srec.c | 685 BFD_ASSERT (c == 'S'); in srec_read_section() 690 BFD_ASSERT (ISHEX (hdr[1]) && ISHEX (hdr[2])); in srec_read_section() 712 BFD_ASSERT (sofar == section->size); in srec_read_section() 737 BFD_ASSERT (sofar == section->size); in srec_read_section() 760 BFD_ASSERT (sofar == section->size); in srec_read_section()
|