old-cross-binutils/ld/testsuite/ld-size/size32-2-i386.d
Roland McGrath 9b4fce51f3 ld/testsuite/
* ld-size/size.exp: For *-*-nacl* targets, use options_regsub(ld)
	to massage -m arguments into _nacl variants.
	* ld/testsuite/ld-size/size32-1-i386.d: Loosen regexps so they
	don't care what the exact addresses are.
	* ld/testsuite/ld-size/size32-1-x32.d: Likewise.
	* ld/testsuite/ld-size/size32-1-x86-64.d: Likewise.
	* ld/testsuite/ld-size/size32-2-i386.d: Likewise.
	* ld/testsuite/ld-size/size32-2-x32.d: Likewise.
	* ld/testsuite/ld-size/size32-2-x86-64.d: Likewise.
	* ld/testsuite/ld-size/size64-1-x32.d: Likewise.
	* ld/testsuite/ld-size/size64-1-x86-64.d: Likewise.
	* ld/testsuite/ld-size/size64-2-x32.d: Likewise.
	* ld/testsuite/ld-size/size64-2-x86-64.d: Likewise.
2013-06-04 19:24:10 +00:00

20 lines
538 B
Makefile

#source: size32-2.s
#as: --32
#ld: -shared -melf_i386
#objdump: -R -s -j .data
#target: x86_64-*-* i?86-*-*
.*: +file format .*
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
[[:xdigit:]]+ R_386_SIZE32 xxx
[[:xdigit:]]+ R_386_SIZE32 yyy
[[:xdigit:]]+ R_386_SIZE32 zzz
[[:xdigit:]]+ R_386_SIZE32 zzz
[[:xdigit:]]+ R_386_SIZE32 zzz
Contents of section .data:
[[:xdigit:]]+ 00000000 00000000 00000000 e2ffffff ................
[[:xdigit:]]+ 1e000000 ....