Remove perror from ld_assemble, ld_compile and ld_nm
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / assert.t
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")
This page took 0.041067 seconds and 4 git commands to generate.