mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 23:57:03 +08:00
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
This commit is contained in:
@ -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>
|
2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* ld-elfvers/vers.exp: Add tests for --defsym.
|
* ld-elfvers/vers.exp: Add tests for --defsym.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
.empty : {
|
.empty : {
|
||||||
here = !.;
|
here = . == ADDR(.empty);
|
||||||
ASSERT (!., "dot is not zero");
|
ASSERT (. == ADDR(.empty), "dot is not ADDR");
|
||||||
ASSERT (here, "here is zero");
|
ASSERT (here, "here is zero");
|
||||||
}
|
}
|
||||||
ASSERT (!SIZEOF(.empty), "Empty is not empty")
|
ASSERT (!SIZEOF(.empty), "Empty is not empty")
|
||||||
|
Reference in New Issue
Block a user