Commit | Line | Data |
---|---|---|
1 | SECTIONS | |
2 | { | |
3 | .empty : { | |
4 | here = . == ADDR(.empty); | |
5 | ASSERT (. == ADDR(.empty), "dot is not ADDR"); | |
6 | ASSERT (here, "here is zero"); | |
7 | } | |
8 | ASSERT (!SIZEOF(.empty), "Empty is not empty") | |
9 | /DISCARD/ : { *(.reginfo) } | |
10 | } |