FAIL: i386 pcrel reloc [Was: Results for binutils 2.15.91 20040826 testsuite on i686-pc-cygwin]

Nick Clifton nickc@redhat.com
Thu Aug 26 16:09:00 GMT 2004


Hi H. J.  Hi Chris,

>>../as-new  --32  -o dump.o /usr/local/src/trunk/src/gas/testsuite/gas/i386/pcrel.s
>>/usr/local/src/trunk/objdir-binutils/gas/testsuite/../../binutils/objdump  -drw dump.o > dump.out
>>regexp_diff match failure
>>regexp "^  ( 0:	e9 30 12 00 00[	 ]*jmp    1235 .*1: R_386_PC32	\*ABS\*| 0:	e9 2f 12 00 00[	 ]*jmp    1234 .*1: DISP32	\*ABS\*)$"
>>line   "   0:	e9 35 12 00 00       	jmp    123a <glob2+0x1135>	1: DISP32	*ABS*"
>>regexp_diff match failure

> The expect output is ELF. I have no idea why we bother to run it for
> non-ELF targets.

So how about this patch to make the test ELF specific, and also to tidy 
up the i386.exp file so that all the ELF tests are gathered together and 
to make it use the is_elf_format proc ?

Cheers
   Nick

gas/testsuite/ChangeLog
2004-08-26  Nick Clifton  <nickc@redhat.com>

	* gas/i386/i386.exp: Group ELF specific tests together.  Move
	the pcrel test into the ELF only section.  Use is_elf_format to
	test for ELF based toolchains.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: i386.exp.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040826/d2983dbd/attachment.ksh>


More information about the Binutils mailing list