From: Nathan Sidwell Date: Fri, 13 Jul 2007 09:09:25 +0000 (+0000) Subject: * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0e1a5e8db2334c72ae8cbb1febb82b778a05b57;p=binutils-gdb.git * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being zero. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 18f32cff2f4..2f49bdd3161 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-07-13 Nathan Sidwell + + * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being + zero. + 2007-07-10 H.J. Lu * ld-elfvers/vers.exp: Add tests for --defsym. diff --git a/ld/testsuite/ld-scripts/assert.t b/ld/testsuite/ld-scripts/assert.t index 809ff4c3ff4..9b4c6414263 100644 --- a/ld/testsuite/ld-scripts/assert.t +++ b/ld/testsuite/ld-scripts/assert.t @@ -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")