]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 13 Jul 2007 09:09:25 +0000 (09:09 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 13 Jul 2007 09:09:25 +0000 (09:09 +0000)
zero.

ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/assert.t

index 18f32cff2f4e5bdf57981b821d2bf81c78e49aeb..2f49bdd31613849a9e5d2b3f8041d8b2dbf6a4fc 100644 (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.
index 809ff4c3ff4fce66abadfa927df5e430c0d902ac..9b4c6414263c06baf2fcf1ca05b8ba53e3fecd89 100644 (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")