mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
* 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:
5
ld/testsuite/ld-scripts/assert.t
Normal file
5
ld/testsuite/ld-scripts/assert.t
Normal file
@@ -0,0 +1,5 @@
|
||||
SECTIONS
|
||||
{
|
||||
.empty : {}
|
||||
ASSERT (!SIZEOF(.empty), "Empty is not empty")
|
||||
}
|
||||
Reference in New Issue
Block a user