This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: fix bug with loadaddr and load regions
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: amodra at bigpond dot net dot au
- Cc: nathan at codesourcery dot com, binutils at sources dot redhat dot com
- Date: Tue, 29 Aug 2006 04:05:33 +0200
- Subject: Re: fix bug with loadaddr and load regions
> Date: Tue, 29 Aug 2006 10:56:25 +0930
> From: Alan Modra <amodra@bigpond.net.au>
> I committed your new testcases.
Causes failures for cris-elf:
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/elf.exp ...
FAIL: ld-elf/loadaddr3a
FAIL: ld-elf/loadaddr3b
ld.log:
/n/asic_slask/hp/autobinutest/ld/../gas/as-new -o tmpdir/dump0.o /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/loadaddr.s
./ld-new -L/h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf -T loadaddr3.t -z max-page-size=0x200000 -o tmpdir/dump tmpdir/dump0.o
failed with: <./ld-new: unrecognized option '-z'
./ld-new: use the --help option for usage information>, expected: <>
./ld-new: unrecognized option '-z'
./ld-new: use the --help option for usage information
/n/asic_slask/hp/autobinutest/ld/../binutils/readelf -l --wide tmpdir/dump > tmpdir/dump.out
extra regexps in /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/loadaddr3a.d starting with "^ LOAD +0x000000 0x0*00000000 0x0*00000000 0x0*0101 0x0*0101 R E 0x.*$"
EOF from tmpdir/dump.out
FAIL: ld-elf/loadaddr3a
/n/asic_slask/hp/autobinutest/ld/../gas/as-new -o tmpdir/dump0.o /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/loadaddr.s
./ld-new -L/h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf -T loadaddr3.t -z max-page-size=0x200000 -o tmpdir/dump tmpdir/dump0.o
failed with: <./ld-new: unrecognized option '-z'
./ld-new: use the --help option for usage information>, expected: <>
./ld-new: unrecognized option '-z'
./ld-new: use the --help option for usage information
/n/asic_slask/hp/autobinutest/ld/../binutils/objdump -t tmpdir/dump > tmpdir/dump.out
extra regexps in /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/loadaddr3b.d starting with "^0+0000100 l d .text 0+0000000 .text$"
EOF from tmpdir/dump.out
FAIL: ld-elf/loadaddr3b
The "-z" options aren't elf-universal. Need to gate on
#target: *-*-linux*
like the maxpage and the loadaddr2 tests.
(The elf gate is redundant, see elf.exp where it's already done.)
And there seems to be one extra bug: the elf.exp testsuite
doesn't stop after the ld failure.
brgds, H-P