Home
last modified time | relevance | path

Searched refs:gas_assert (Results 1 – 25 of 76) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/gas/config/
Dtc-aarch64.c698 gas_assert (reg->type < REG_TYPE_MAX && type < REG_TYPE_MAX); in aarch64_check_reg_type()
1764 gas_assert (pool->literals[entry].bignum != NULL); in s_ltorg()
3180 gas_assert (internal_fixup_p); in parse_half()
3327 gas_assert (p - buf == q - *str); in parse_sys_reg()
3582 gas_assert (AARCH64_OPDE_RECOVERABLE > AARCH64_OPDE_NIL); in operand_error_higher_severity_p()
3583 gas_assert (AARCH64_OPDE_SYNTAX_ERROR > AARCH64_OPDE_RECOVERABLE); in operand_error_higher_severity_p()
3584 gas_assert (AARCH64_OPDE_FATAL_SYNTAX_ERROR > AARCH64_OPDE_SYNTAX_ERROR); in operand_error_higher_severity_p()
3585 gas_assert (AARCH64_OPDE_INVALID_VARIANT > AARCH64_OPDE_FATAL_SYNTAX_ERROR); in operand_error_higher_severity_p()
3586 gas_assert (AARCH64_OPDE_OUT_OF_RANGE > AARCH64_OPDE_INVALID_VARIANT); in operand_error_higher_severity_p()
3587 gas_assert (AARCH64_OPDE_UNALIGNED > AARCH64_OPDE_OUT_OF_RANGE); in operand_error_higher_severity_p()
[all …]
Dtc-xtensa.c1080 gas_assert (!past_xtensa_end); in use_transform()
1091 gas_assert (!past_xtensa_end); in do_align_targets()
1277 gas_assert (ls); in xtensa_begin_directive()
1402 gas_assert (s); in xtensa_end_directive()
1529 gas_assert (name); in xtensa_literal_prefix()
1724 gas_assert (operator != (unsigned char) -1); in map_suffix_reloc_to_operator()
1855 gas_assert (tok->X_op == O_constant); in expression_maybe_register()
2043 gas_assert (opnd_cnt > 0); in parse_arguments()
2058 gas_assert (opnd_cnt < MAX_INSN_ARGS); in parse_arguments()
2385 gas_assert (opname[0] != '_'); in xtensa_translate_zero_immed()
[all …]
Dtc-mips.c3392 gas_assert (opno < MAX_OPERANDS); in validate_mips_insn()
4243 gas_assert (S_GET_SEGMENT (l->label) == now_seg); in mips_move_labels()
4293 gas_assert (HAVE_CODE_COMPRESSION); in mips_compressed_mark_label()
4342 gas_assert (mips_relax.sequence == 0); in relax_start()
4353 gas_assert (mips_relax.sequence == 1); in relax_switch()
4362 gas_assert (mips_relax.sequence == 2); in relax_end()
4496 gas_assert ((uval & 31) == (uval >> 5)); in operand_reg_mask()
5910 gas_assert (arg->token->u.flt.length == length); in match_float_constant()
5986 gas_assert (!using_gprs && g_switch_value >= 4); in match_float_constant()
6035 gas_assert (operand->size == 2 || operand->size == 4); in match_vu0_suffix_operand()
[all …]
Dtc-nios2.c226 gas_assert (n == 1 || n == 2 || n == 4); in md_chars_to_number()
245 gas_assert (n == 1 || n == 2 || n == 4 || n == 8); in md_number_to_chars()
375 gas_assert (S_GET_SEGMENT (label) == now_seg); in nios2_align()
933 gas_assert (remainder >= -32768 && remainder <= 32767); in md_convert_frag()
1037 gas_assert (opcode); in nios2_diagnose_overflow()
1038 gas_assert (fixP->fx_size == opcode->size); in nios2_diagnose_overflow()
1095 gas_assert (fixP != NULL && valP != NULL in md_apply_fix()
1334 gas_assert (reloc != NULL);
1403 gas_assert (exprstr != NULL); in nios2_assemble_expression()
1404 gas_assert (insn != NULL); in nios2_assemble_expression()
[all …]
Dtc-i386-intel.c475 gas_assert (e->X_add_number < (unsigned short) -1); in i386_intel_simplify()
551 gas_assert (!intel_state.in_offset); in i386_intel_operand()
552 gas_assert (!intel_state.in_bracket); in i386_intel_operand()
553 gas_assert (!intel_state.in_scale); in i386_intel_operand()
597 gas_assert (!intel_state.in_offset); in i386_intel_operand()
598 gas_assert (!intel_state.in_bracket); in i386_intel_operand()
599 gas_assert (!intel_state.in_scale); in i386_intel_operand()
Dtc-m68hc11.c1835 gas_assert ((opcode->format & M6811_OP_BITMASK) == 0); in build_jump_insn()
1836 gas_assert (nb_operands == 1); in build_jump_insn()
1837 gas_assert (operands[0].reg1 == REG_NONE && operands[0].reg2 == REG_NONE); in build_jump_insn()
1976 gas_assert ((opcode->format & M6811_OP_BITMASK) == 0); in build_dbranch_insn()
1977 gas_assert (nb_operands == 2); in build_dbranch_insn()
1978 gas_assert (operands[0].reg1 != REG_NONE); in build_dbranch_insn()
3773 gas_assert (elfsym); in s_m68hc11_mark_symbol()
3977 gas_assert (IS_OPCODE (fragP->fr_opcode[0], M6811_BSR) in md_convert_frag()
4117 gas_assert (IS_OPCODE (fragP->fr_opcode[0], M6811_BSR) in md_estimate_size_before_relax()
4137 gas_assert (current_architecture & cpu6811); in md_estimate_size_before_relax()
[all …]
Dtc-alpha.c1294 gas_assert (insn.nfixups == 1); in load_expression()
1330 gas_assert (insn.nfixups == 1); in load_expression()
1392 gas_assert (insn.nfixups + 1 <= MAX_INSN_FIXUPS); in load_expression()
1424 gas_assert (insn.nfixups + 1 <= MAX_INSN_FIXUPS); in load_expression()
1563 gas_assert (insn.nfixups == 1); in load_expression()
1581 gas_assert (insn.nfixups < MAX_INSN_FIXUPS); in load_expression()
1785 gas_assert (reloc_howto); in emit_insn()
1799 gas_assert (size >= 1 && size <= 4); in emit_insn()
2080 gas_assert (reloc_operand == NULL); in assemble_insn()
2110 gas_assert (reloc_operand == NULL); in assemble_insn()
[all …]
Dtc-i386.c1835 gas_assert (i.operands == 2); in operand_size_match()
3070 gas_assert ((i.vex.register_specifier->reg_flags & RegVRex) == 0); in build_vex_prefix()
3094 gas_assert (i.rm.mode == 3); in build_vex_prefix()
3212 gas_assert ((i.vrex & REX_X) == 0); in build_evex_prefix()
3300 gas_assert (i.vrex == 0); in build_evex_prefix()
3399 gas_assert (i.imm_operands <= 1 in process_immext()
4414 gas_assert (i.reg_operands == 2 || i.mask); in check_VecOperands()
4417 gas_assert (i.types[0].bitfield.regxmm in check_VecOperands()
4419 gas_assert (i.types[2].bitfield.regxmm in check_VecOperands()
4504 gas_assert (op < i.operands); in check_VecOperands()
[all …]
Dtc-iq2000.c536 gas_assert (reloc_type == BFD_RELOC_HI16); in iq2000_record_hi16()
589 gas_assert (FX_OPINFO_R_TYPE (l->fixp) == BFD_RELOC_HI16 in iq2000_frob_file()
629 gas_assert (* pf != NULL); in iq2000_frob_file()
839 gas_assert (S_GET_NAME (p)); in s_iq2000_end()
Dobj-coff.c256 gas_assert (s != 0); in fetch_coff_debug_section()
1101 gas_assert (weak_is_altname (name)); in weak_altname2name()
1118 gas_assert (weak_is_altname (name)); in weak_uniquify()
1245 gas_assert (weakp); in coff_frob_symbol()
1246 gas_assert (S_GET_NUMBER_AUXILIARY (weakp) == 1); in coff_frob_symbol()
1328 gas_assert (S_GET_VALUE (symp) == 0); in coff_frob_symbol()
1809 gas_assert (fragp != 0 && fragp->fr_fix >= 12); in coff_frob_section()
Dtc-arc.c892 gas_assert (symbolP->sy_frag == &zero_address_frag); in arc_common()
1289 gas_assert ((operand->flags & ARC_OPERAND_RELATIVE_BRANCH) != 0 in md_apply_fix()
1296 gas_assert ((operand->flags & ARC_OPERAND_ABSOLUTE_BRANCH) != 0 in md_apply_fix()
1303 gas_assert ((operand->flags & ARC_OPERAND_LIMM) != 0 in md_apply_fix()
1371 gas_assert (!fixP->fx_pcrel == !reloc->howto->pc_relative); in tc_gen_reloc()
Dobj-ecoff.c148 gas_assert (ecoff_data (stdoutput) != 0); in ecoff_frob_file()
Dobj-som.c281 gas_assert (p != 0); in adjust_stab_sections()
Dtc-m32r.c1811 gas_assert (fragP->fr_subtype != 1); in md_convert_frag()
1812 gas_assert (fragP->fr_cgen.insn != 0); in md_convert_frag()
1902 gas_assert (reloc_type == BFD_RELOC_M32R_HI16_SLO in m32r_record_hi16()
2010 gas_assert (FX_OPINFO_R_TYPE (l->fixp) == BFD_RELOC_M32R_HI16_SLO in m32r_frob_file()
2051 gas_assert (*pf != NULL); in m32r_frob_file()
Dobj-aout.c131 gas_assert (x); in obj_aout_frob_file_before_fix()
/toolchain/binutils/binutils-2.25/gas/
Dfrags.c162 gas_assert (frchain_now->frch_last == frag_now); in frag_new()
167 gas_assert (frag_now->fr_type != 0); in frag_new()
175 gas_assert (former_last_fragP != 0); in frag_new()
176 gas_assert (former_last_fragP == frag_now); in frag_new()
195 gas_assert (frchain_now->frch_last == frag_now); in frag_new()
Dehopt.c479 gas_assert (ca > 0); in eh_frame_estimate_size_before_relax()
526 gas_assert (ca > 0); in eh_frame_convert_frag()
531 gas_assert (diff < 0x40); in eh_frame_convert_frag()
536 gas_assert (diff < 0x100); in eh_frame_convert_frag()
542 gas_assert (diff < 0x10000); in eh_frame_convert_frag()
Dinput-file.c123 gas_assert (filename != 0); /* Filename may not be NULL. */ in input_file_open()
163 gas_assert (c != EOF); in input_file_open()
Dsymbols.c221 gas_assert (locsym->lsy_flags.sy_local_symbol); in local_symbol_convert()
560 gas_assert (orgsymP != &dot_symbol); in symbol_clone()
901 gas_assert (symbolP->bsym != NULL); in verify_symbol_chain()
902 gas_assert (symbolP->sy_flags.sy_local_symbol == 0); in verify_symbol_chain()
903 gas_assert (symbolP->sy_next->sy_previous == symbolP); in verify_symbol_chain()
906 gas_assert (lastP == symbolP); in verify_symbol_chain()
1177 gas_assert (final_val == 0); in resolve_symbol_value()
1180 gas_assert (add_symbol->sy_value.X_op == O_symbol in resolve_symbol_value()
1183 gas_assert (! S_IS_WEAKREFR (add_symbol)); in resolve_symbol_value()
3053 gas_assert (sym != NULL); in symbol_relc_make_sym()
[all …]
Dwrite.c397 gas_assert (prev_frag->fr_type != 0); in chain_frchains_together_1()
407 gas_assert (prev_frag != &dummy in chain_frchains_together_1()
489 gas_assert (fragP->fr_next == NULL in cvt_frag_to_fill()
580 gas_assert (x); in size_seg()
584 gas_assert (x); in size_seg()
588 gas_assert (newsize >= size); in size_seg()
1458 gas_assert (f->fr_type == rs_fill); in compress_debug()
1470 gas_assert (count >= 0); in compress_debug()
1530 gas_assert (x); in compress_debug()
1561 gas_assert (f->fr_type == rs_fill); in write_contents()
[all …]
Dsubsegs.c85 gas_assert (frchain_now == 0 in subseg_set_rest()
126 gas_assert (frchain_now->frch_last == frag_now); in subseg_set_rest()
Das.h88 #define gas_assert(P) \ macro
219 #define know(p) gas_assert(p) /* Verify our assumptions! */
Ddwarf2dbg.c322 gas_assert (seg == s->seg); in get_line_subseg()
1226 gas_assert ((offsetT) addr_delta >= 0); in emit_inc_line_addr()
1307 gas_assert (p == end); in emit_inc_line_addr()
1365 gas_assert ((offsetT) addr_delta >= 0); in emit_fixed_inc_line_addr()
1368 gas_assert (len == size_fixed_inc_line_addr (line_delta, addr_delta)); in emit_fixed_inc_line_addr()
1389 gas_assert (pexp->X_op == O_subtract); in emit_fixed_inc_line_addr()
1417 gas_assert (p == end); in emit_fixed_inc_line_addr()
1513 gas_assert (frag->fr_var >= (int) frag->fr_subtype); in dwarf2dbg_convert_frag()
2565 gas_assert (all_segs); in dwarf2_finish()
Dread.c630 gas_assert (frag != frag_now); in start_bundle()
643 gas_assert (frag != frag_now); in pending_bundle_size()
644 gas_assert (frag->fr_type == rs_align_code); in pending_bundle_size()
659 gas_assert (frag == frag_now); in pending_bundle_size()
664 gas_assert (size >= offset); in pending_bundle_size()
673 gas_assert (bundle_align_p2 > 0); in finish_bundle()
674 gas_assert (frag->fr_type == rs_align_code); in finish_bundle()
3121 gas_assert (len < 8); in do_repeat_with_expander()
3601 gas_assert (expP->X_op == O_symbol in s_weakref()
6041 gas_assert (bundle_align_p2 > 0); in s_bundle_unlock()
[all …]
Datof-generic.c103 gas_assert (string_of_decimal_marks[0] == '.' in atof_generic()

1234