This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
New ld-scripts/size-2 test fail on cris-axis-elf (probably all 32-bitters)
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: nathan at codesourcery dot com
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 5 Mar 2004 19:48:26 +0100
- Subject: New ld-scripts/size-2 test fail on cris-axis-elf (probably all 32-bitters)
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.
brgds, H-P