mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
This commit is contained in:
parent
3d263d86a5
commit
e0e1a5e8db
@ -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…
Reference in New Issue
Block a user