This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Ld option -z mistreat (new tests ld-elf/commonpage1 ld-elf/maxpage1 fail for cris-elf arm-elf)
- From: Thiemo Seufer <ths at networkno dot de>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: hongjiu dot lu at intel dot com, binutils at sourceware dot org
- Date: Wed, 31 May 2006 12:25:21 +0100
- Subject: Re: Ld option -z mistreat (new tests ld-elf/commonpage1 ld-elf/maxpage1 fail for cris-elf arm-elf)
- References: <200605311005.k4VA5j8K029853@ignucius.se.axis.com>
Hans-Peter Nilsson wrote:
> My autotester noticed:
> Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/elf.exp ...
> FAIL: ld-elf/commonpage1
> FAIL: ld-elf/maxpage1
For mips-linux:
FAIL: ld-elf/commonpage1
FAIL: ld-elf/maxpage1
FAIL: MIPS multi-got-no-shared
/home/ths/gcc/binutils-upstream/head-build/ld/../gas/as-new -o tmpdir/dump0.o /home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-elf/maxpage1.s
./ld-new -L/home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-elf -z max-page-size=0x200000 -z common-page-size=0x100000 -o tmpdir/dump tmpdir/dump0.o
succeeded with: <./ld-new: warning: cannot find entry symbol __start; defaulting to 00000000004000b0>, expected: <>
./ld-new: warning: cannot find entry symbol __start; defaulting to 00000000004000b0
succeeded with: <./ld-new: warning: cannot find entry symbol __start; defaulting to 00000000004000b0>, expected: <>
FAIL: ld-elf/commonpage1
[snip]
/home/ths/gcc/binutils-upstream/head-build/ld/../gas/as-new -o tmpdir/dump0.o /home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-elf/maxpage1.s
./ld-new -L/home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-elf -z max-page-size=0x200000 -o tmpdir/dump tmpdir/dump0.o
succeeded with: <./ld-new: warning: cannot find entry symbol __start; defaulting to 00000000004000b0>, expected: <>
./ld-new: warning: cannot find entry symbol __start; defaulting to 00000000004000b0
succeeded with: <./ld-new: warning: cannot find entry symbol __start; defaulting to 00000000004000b0>, expected: <>
FAIL: ld-elf/maxpage1
[snip]
/home/ths/gcc/binutils-upstream/head-build/ld/../gas/as-new -EB -32 -KPIC -mno-shared -o tmpdir/dump0.o /home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s
/home/ths/gcc/binutils-upstream/head-build/ld/../gas/as-new -EB -32 -KPIC -mno-shared -o tmpdir/dump1.o /home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s
./ld-new -L/home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-mips-elf -melf32btsmip --entry func1 -o tmpdir/dump tmpdir/dump0.o tmpdir/dump1.o
/home/ths/gcc/binutils-upstream/head-build/ld/../binutils/objdump -D -j .text --prefix-addresses --show-raw-insn tmpdir/dump > tmpdir/dump.out
regexp_diff match failure
regexp "^004000b0 <[^>]*> 3c1c0046 lui gp,0x46$"
line "004000b0 <func1> 3c1c0043 lui gp,0x43"
extra regexps in /home/ths/gcc/binutils-upstream/head/ld/testsuite/ld-mips-elf/multi-got-no-shared.d starting with "^00408d60 <[^>]*> 3c1c0047 lui gp,0x47$"
EOF from tmpdir/dump.out
FAIL: MIPS multi-got-no-shared
The ld-elf failures are just the usual missing __start for mips, I
haven't looked into multi-got-no-shared yet.
Thiemo