This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]