old-cross-binutils/ld/testsuite/ld-cris/pv32-1.d
Hans-Peter Nilsson 9a6351f1d2 Adjust testsuite for cris-axis-aout.
* ld-cris/noglob1.d: Adjust regexp for a.out output.
	* ld-cris/badgotr1.d, ld-cris/expdyn1.d, ld-cris/expdyn2.d,
	ld-cris/expdyn3.d, ld-cris/expdyn4.d, ld-cris/expdyn5.d,
	ld-cris/expdyn6.d, ld-cris/expdyn7.d, ld-cris/gotplt1.d,
	ld-cris/gotplt2.d, ld-cris/gotplt3.d, ld-cris/hiddef1.d,
	ld-cris/libdso-1.d, ld-cris/libdso-10.d, ld-cris/libdso-11.d,
	ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d,
	ld-cris/libdso-2.d, ld-cris/libdso-3.d, ld-cris/libdso-4.d,
	ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/nodyn4.d,
	ld-cris/nodyn5.d, ld-cris/pv32-1.d, ld-cris/undef1.d,
	ld-cris/weakref1.d: ld-cris/weakref2.d: Pass --em=criself to gas.
	* ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d,
	ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d,
	ld-cris/va-v32.d: Ditto.  Pass -m criself to gld.
	* ld-cris/v32-bin-1.d: Pass -m criself to gld.
2005-03-08 02:31:40 +00:00

41 lines
1.3 KiB
Makefile

#source: pv32.s
#as: --march=v32 --no-underscore --em=criself
#ld: -e here -m crislinux tmpdir/libdso-12.so
#objdump: -s -T
# Trivial test of linking a program to a v32 DSO.
.*: file format elf32-cris
DYNAMIC SYMBOL TABLE:
0+822a0 g DO \*ABS\* 0+ _DYNAMIC
0+8023a DF \*UND\* 0+2 expfn
0+82354 g DO \.bss 0+ expobj
0+82354 g D \*ABS\* 0+ __bss_start
0+80254 DF \*UND\* 0+8 dsofn3
0+82354 g D \*ABS\* 0+ _edata
0+82360 g D \*ABS\* 0+ _end
0+80280 g DF \.text 0+8 dsofn
Contents of section \.interp:
800d4 2f6c6962 2f6c642e 736f2e31 00 .*
#...
Contents of section \.rela\.dyn:
801fc 54230800 09030000 00000000 .*
Contents of section \.rela\.plt:
80208 4c230800 0b020000 00000000 50230800 .*
80218 0b050000 00000000 .*
Contents of section \.plt:
80220 84e26ffe 44230800 7e7a3f7a 04f26ffa .*
80230 bf09b005 00000000 00006ffe 4c230800 .*
80240 6ffabf09 b0053f7e 00000000 bf0ed4ff .*
80250 ffffb005 6ffe5023 08006ffa bf09b005 .*
80260 3f7e0c00 0000bf0e baffffff b005 .*
Contents of section \.text:
8026e b005bfbe caffffff b005bfbe dcffffff .*
8027e b0056fae 54230800 b0050000 .*
Contents of section \.dynamic:
#...
Contents of section \.got:
82340 a0220800 00000000 00000000 46020800 .*
82350 60020800 .*