* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
This commit is contained in:
parent
3d263d86a5
commit
e0e1a5e8db
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue