* ldgram.y (statement_anywhere): Add assert rule.

* ldlang.c (exp_init_os): Add assert case.
	* testsuite/ld-scripts/assert.{s,t,exp}: New.
This commit is contained in:
Nathan Sidwell
2004-02-18 16:37:21 +00:00
parent 34920d91a5
commit b6ca8815ef
7 changed files with 53 additions and 0 deletions

View File

@ -775,6 +775,10 @@ exp_init_os (etree_type *exp)
exp_init_os (exp->trinary.rhs);
break;
case etree_assert:
exp_init_os (exp->assert_s.child);
break;
case etree_unary:
exp_init_os (exp->unary.child);
break;