* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being

zero.
This commit is contained in:
Nathan Sidwell 2007-07-13 09:09:25 +00:00
parent 3d263d86a5
commit e0e1a5e8db
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-07-13 Nathan Sidwell <nathan@codesourcery.com>
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Add tests for --defsym.

View File

@ -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")