mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
abd4c01a40
2010-12-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/12327 * ld-scripts/defined4.d: New. * ld-scripts/defined4.s: Likewise. * ld-scripts/defined4.t: Likewise. * ld-scripts/expr2.d: Likewise. * ld-scripts/expr2.s: Likewise. * ld-scripts/expr2.t: Likewise. * ld-scripts/defined.exp: Run defined4. * ld-scripts/expr.exp: Run expr2.
12 lines
125 B
Perl
12 lines
125 B
Perl
SECTIONS
|
|
{
|
|
. = 0xc000;
|
|
.text :
|
|
{
|
|
_text = .;
|
|
*(.text)
|
|
}
|
|
_end = .;
|
|
}
|
|
ASSERT (_end - _text <= 0x100, "fail");
|