mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 23:32:21 +08:00
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
SECTIONS
|
||||
{
|
||||
.empty : {
|
||||
here = !.;
|
||||
ASSERT (!., "dot is not zero");
|
||||
here = . == ADDR(.empty);
|
||||
ASSERT (. == ADDR(.empty), "dot is not ADDR");
|
||||
ASSERT (here, "here is zero");
|
||||
}
|
||||
ASSERT (!SIZEOF(.empty), "Empty is not empty")
|
||||
|
Reference in New Issue
Block a user