This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
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,
> >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 ?
The absrel and pcrel tests are supposed to work for aout, coff, and elf.
They obviously don't work with pe, and the reason I haven't updated the
test is that I'm not sure whether we are 100% correct with our pe
relocations. We might be consistent between GNU as and GNU ld, but not
between GNU as and some other linker.
--
Alan Modra
IBM OzLabs - Linux Technology Centre