diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-07-13 09:09:25 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2007-07-13 09:09:25 +0000 |
commit | e0e1a5e8db2334c72ae8cbb1febb82b778a05b57 (patch) | |
tree | b21b37fb3c763fae4428e60ca9be7cc22f44b273 /ld/testsuite | |
parent | 3d263d86a5f14e3f60e36a7d22fd5816e9b72798 (diff) | |
download | gdb-e0e1a5e8db2334c72ae8cbb1febb82b778a05b57.zip gdb-e0e1a5e8db2334c72ae8cbb1febb82b778a05b57.tar.gz gdb-e0e1a5e8db2334c72ae8cbb1febb82b778a05b57.tar.bz2 |
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/assert.t | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 18f32cf..2f49bdd 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -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. diff --git a/ld/testsuite/ld-scripts/assert.t b/ld/testsuite/ld-scripts/assert.t index 809ff4c..9b4c641 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") |