New ld-scripts/size-2 test fail on cris-axis-elf (probably all 32-bitters)
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Fri Mar 5 18:48:00 GMT 2004
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
More information about the Binutils
mailing list