Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 33) sorted by relevance

12

/toolchain/binutils/binutils-2.27/ld/testsuite/ld-scripts/
Dlog2.t1 ASSERT(LOG2CEIL(0) == 0, "LOG2CEIL(0) == 0");
2 ASSERT(LOG2CEIL(1) == 0, "LOG2CEIL(1) == 0");
3 ASSERT(LOG2CEIL(2) == 1, "LOG2CEIL(2) == 1");
4 ASSERT(LOG2CEIL(3) == 2, "LOG2CEIL(3) == 2");
5 ASSERT(LOG2CEIL(4) == 2, "LOG2CEIL(4) == 2");
6 ASSERT(LOG2CEIL(0x0ff) == 8, "LOG2CEIL(0x0ff) == 8");
7 ASSERT(LOG2CEIL(0x100) == 8, "LOG2CEIL(0x100) == 8");
8 ASSERT(LOG2CEIL(0x1ff) == 9, "LOG2CEIL(0x1ff) == 9");
Dassert.t5 ASSERT (. == ADDR(.empty), "dot is not ADDR");
6 ASSERT (here, "here is zero");
8 ASSERT (!SIZEOF(.empty), "Empty is not empty")
Dalign.t6 ASSERT (LOADADDR(.data) == 0x80, "dyadic ALIGN broken")
7 ASSERT (ADDR(.data) == 0x1000, "monadic ALIGN broken")
Dassert2.t1 ASSERT(2 * 2 == 5, "assert failed");
Dexpr2.t11 ASSERT (_end - _text <= 0x100, "fail");
Ddynamic-sections.t10 _bar = ASSERT (. > 0, "Bad . value");
/toolchain/binutils/binutils-2.27/gas/
Ditbl-ops.c99 #define ASSERT(x) gas_assert (x) macro
102 #define ASSERT(x) macro
317 ASSERT (new_num_opcodes >= itbl_num_opcodes); in append_insns_as_macros()
320 ASSERT (size >= 0); in append_insns_as_macros()
393 ASSERT (e); in form_args()
673 ASSERT (r.sbit >= r.ebit); in apply_range()
674 ASSERT (MAX_BITPOS >= r.sbit); in apply_range()
675 ASSERT (r.ebit >= 0); in apply_range()
724 ASSERT (128 > len + 1); in itbl_get_field()
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-gc/
Dpr14265.t21 ASSERT (__foo1_start < __foo1_end, "foo1 not KEPT");
22 ASSERT ((__foo1_end - __foo1_start) == (__foo2_end - __foo2_start),"foo2 not KEPT");
/toolchain/binutils/binutils-2.27/gold/testsuite/
Dpr14265.t23 ASSERT (__foo1_start < __foo1_end, "foo1 not KEPT");
24 ASSERT ((__foo1_end - __foo1_start) == (__foo2_end - __foo2_start),"foo2 not KEPT");
/toolchain/binutils/binutils-2.27/ld/
Dplugin.c461 ASSERT (called_plugin); in register_claim_file()
470 ASSERT (called_plugin); in register_all_symbols_read()
479 ASSERT (called_plugin); in register_cleanup()
493 ASSERT (called_plugin); in add_symbols()
517 ASSERT (called_plugin); in get_input_file()
539 ASSERT (called_plugin); in get_view()
614 ASSERT (called_plugin); in release_input_file()
677 ASSERT (called_plugin); in get_symbols()
811 ASSERT (called_plugin); in add_input_file()
826 ASSERT (called_plugin); in add_input_library()
[all …]
Dldwrite.c51 ASSERT (output_section->owner == link_info.output_bfd); in build_link_order()
139 ASSERT (output_section->owner == link_info.output_bfd); in build_link_order()
197 ASSERT (output_section->owner == link_info.output_bfd); in build_link_order()
248 ASSERT (output_section->owner == link_info.output_bfd); in build_link_order()
271 ASSERT (i->output_section == output_section); in build_link_order()
286 ASSERT (statement->padding_statement.output_section->owner in build_link_order()
Dldcref.c331 ASSERT (h->demangled == NULL); in cref_fill_array()
392 ASSERT ((size_t) (csym_fill - csyms) == cref_symcount); in output_cref()
488 ASSERT (len == 0); in output_one_cref()
Dldlang.c1487 ASSERT (name == entry->root.string); in next_matching_output_section_statement()
2601 ASSERT (list.head->header.next == NULL); in output_section_callback()
2606 ASSERT (*pp != NULL); in output_section_callback()
3194 ASSERT (link_info.output_bfd == NULL); in ldlang_open_output()
3232 ASSERT (x == 1); in init_opb()
3738 ASSERT (last_os == NULL || last_os->next == os); in process_insert_statements()
4990 ASSERT (os->bfd_section->vma == 0); in lang_size_sections_1()
5081 ASSERT (os->bfd_section->size == 0); in lang_size_sections_1()
5354 ASSERT (expld.dataseg.relro_start_stat == s); in lang_size_sections_1()
5363 ASSERT (expld.dataseg.relro_end_stat == s); in lang_size_sections_1()
[all …]
Dldmain.c1039 ASSERT (otype == bfd_link_hash_common); in multiple_common()
1049 ASSERT (ntype == bfd_link_hash_common); in multiple_common()
1057 ASSERT (otype == bfd_link_hash_common && ntype == bfd_link_hash_common); in multiple_common()
DChangeLog-2007601 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
606 (statement): Add ASSERT.
DNEWS457 * Added ASSERT to the linker script language.
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/
Dpr13839.t9 . = ASSERT((_end - _text <= (512 * 1024 * 1024)), "foo");
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/rx/
Drx-asm-bad.s43 .ASSERT "assertion message"
/toolchain/binutils/binutils-2.27/ld/emultempl/
Dxtensaelf.em789 ASSERT ((old_to_count + old_current_count)
824 ASSERT (0);
856 ASSERT (stack != NULL);
1114 ASSERT (sec_deps_e->src == src);
1256 ASSERT (l != NULL);
1485 ASSERT (new_child_count == old_child_count);
1492 ASSERT (new_child_count == old_child_count);
1563 ASSERT (old_count == (ct1 + ct2));
1574 ASSERT (ct2 > 0);
1608 ASSERT (new_count == old_count);
[all …]
Dsunos.em163 ASSERT (CONST_STRNEQ (inp->local_sym_name, "-l"));
749 ASSERT (need_entries != 0);
760 ASSERT ((bfd_size_type) (need_pnames - sneed->contents) == need_size);
899 ASSERT (inp->local_sym_name[0] == '-'
Dlinux.em98 ASSERT (s->address_statement.address->type.node_class == etree_value);
Dcr16elf.em153 ASSERT (relsec != NULL);
Dm68kelf.em167 ASSERT (relsec != NULL);
Dm68kcoff.em147 ASSERT (relsec != NULL);
Dppc64elf.em181 ASSERT (prev->header.type == lang_input_section_enum);

12