FAIL: i386 pcrel reloc [Was: Results for binutils 2.15.91 20040826 testsuite on i686-pc-cygwin]
H. J. Lu
hjl@lucon.org
Thu Aug 26 17:19:00 GMT 2004
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.
More information about the Binutils
mailing list