This is the mail archive of the binutils@sourceware.org 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]

Re: Ld option -z mistreat (new tests ld-elf/commonpage1 ld-elf/maxpage1 fail for cris-elf arm-elf)


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


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