New ld-scripts/size-2 test fail on cris-axis-elf (probably all 32-bitters)
Nathan Sidwell
nathan@codesourcery.com
Fri Mar 5 19:29:00 GMT 2004
Hans-Peter Nilsson wrote:
> Spotted by my automatic tester (which is quite trivial since
> there are no unexpected failures in binutils, normally).
>
> Build and check-ld for --target=cris-axis-elf
> and you'll see (from ld.log):
>
> ./ld-new -L/h/hp/binutils/cvs_latest/src/ld/testsuite/ld-scripts -T size-2.t -o tmpdir/dump tmpdir/dump0.o
> /dsk/c0t3s3/hptmp3/autobinutest/ld/../binutils/readelf -l tmpdir/dump > tmpdir/dump.out
> regexp_diff match failure
> regexp "^ Type Offset VirtAddr PhysAddr$"
> line " Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align"
> regexp_diff match failure
> ...
>
> Looks like you wrote the test for a target with a 64-bit
> bfd_vma. I suggest you generalize the test by using the --wide
> option to readelf and adjusting the expected output. Thanks.
whoops, thanks for pointing me at --wide. I've installed this obvious
fix for the fallout. Tested on cris-axis-elf and mips-unknown-elf.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: size-break.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040305/f0406de8/attachment.ksh>
More information about the Binutils
mailing list