old-cross-binutils/ld/testsuite/ld-scripts/defined4.d
H.J. Lu abd4c01a40 Add testcases for PR ld/12327.
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.
2010-12-28 18:04:10 +00:00

10 lines
134 B
Makefile

#ld: -Tdefined4.t
#nm: -B
#source: defined4.s
# Check that arithmetic on DEFINED works.
#...
0+0 D defined
#...
0+0 D defined1
#pass