76cb62b003
* 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.
22 lines
465 B
Makefile
22 lines
465 B
Makefile
#ld: -Tdefined2.t
|
|
#nm: -B
|
|
#source: phdrs.s
|
|
|
|
# Check that arithmetic on DEFINED works.
|
|
# 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. The symbol sym1 is supposed to
|
|
# be in the .text section for all targets, though.
|
|
|
|
#...
|
|
0+1 [AT] defined1
|
|
#...
|
|
0+11 A defined2
|
|
#...
|
|
0+100 A defined3
|
|
#...
|
|
0+1ff A defined4
|
|
#...
|
|
0+3 T sym1
|
|
#pass
|