diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-02-18 16:37:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2004-02-18 16:37:21 +0000 |
commit | b6ca8815ef79f8fef380079e69b6984972a36f2a (patch) | |
tree | 5a71d2129472d86b22e1f42c512b9d598d7ea780 /ld/ldlang.c | |
parent | 34920d91a5b766acf1806063e3b8507c709d5d4f (diff) | |
download | gdb-b6ca8815ef79f8fef380079e69b6984972a36f2a.zip gdb-b6ca8815ef79f8fef380079e69b6984972a36f2a.tar.gz gdb-b6ca8815ef79f8fef380079e69b6984972a36f2a.tar.bz2 |
* ldgram.y (statement_anywhere): Add assert rule.
* ldlang.c (exp_init_os): Add assert case.
* testsuite/ld-scripts/assert.{s,t,exp}: New.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 108ad58..487ee02 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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; |