old-cross-binutils/ld/testsuite/ld-scripts/defined3.d
Alan Modra 76cb62b003 * ld-scripts/align.exp: Don't run on aix.
* ld-scripts/assert.s: Remove comment.
	* ld-scripts/data.s: Likewise.
	* ld-scripts/data.t: Set start address to allow for aout headers.
	Make first LONG pc-relative.
	* ld-scripts/data.d: Update.
	* ld-scripts/defined2.d: Allow other random syms.
	* ld-scripts/defined3.d: Likewise.
	* ld-scripts/provide-1.s: Pad section.
	* ld-scripts/provide-1.t: Set .data address and align.
	* ld-scripts/provide-1.d: Update.
	* ld-scripts/provide-2.s: Pad section.
	* ld-scripts/provide-2.d: Allow random trailing syms.
	* ld-scripts/provide-3.s: Pad section.
	* ld-scripts/provide-3.d: Fix typos.
	* ld-scripts/provide.exp: Don't run on aix.
	* ld-scripts/size-1.s: Simplify test.
	* ld-scripts/size-1.t: Rewrite.
	* ld-scripts/size-1.d: Update.
	* ld-scripts/size-2.s: Simplify.
	* ld-scripts/size-2.t: Set start address.  Set exe flag on image.
	* ld-scripts/size-2.d: Update.
	* ld-scripts/size.exp: Don't run on aix.  Run size-2 on all elf
	targets except mips.
2004-04-08 00:51:37 +00:00

34 lines
617 B
Makefile

#ld: -Tdefined3.t
#nm: -B
#source: phdrs.s
#source: defined.s
# Check that DEFINED matches only symbols defined before its location.
# The ellipsis account for target-specific symbols. Matching both A and T
# accounts for formats that can't tell a .text symbol from an absolute
# symbol (mmo), but matches whatever section that contains an address
# matching the value.
#...
0+1 [AT] defined
#...
0+200 A defined1
#...
0+201 A defined2
#...
0+100 A defined3
#...
0+ [AT] defined4
#...
0+2a A defined5
#...
0+ [AT] defined6
#...
0+1 [AT] defined7
#...
0+1 [AT] defined8
#...
0+2a A sym1
#...
[0-9a-f]+ T sym2
#pass