This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Aug 26, 2004 at 05:10:58PM +0100, Nick Clifton wrote:
> 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.
> 

It looks OK to me. But I still got

./build-i386-pe/gas/testsuite/gas.log:FAIL: i386 abs reloc
./build-i386-pe/ld/ld.log:FAIL: ld-scripts/provide-1

with a cross i386-pe binutils.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]