This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA/ARM] Fix handling of Tag_DIV_use
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: matthew dot gretton-dann at arm dot com
- Cc: binutils at sourceware dot org, rearnsha at arm dot com
- Date: Fri, 16 Mar 2012 16:06:17 +0100
- Subject: Re: [RFA/ARM] Fix handling of Tag_DIV_use
> From: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
> Date: Thu, 15 Mar 2012 17:55:40 +0100
> ld/testsuite/ChangeLog:
>
> 2012-03-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
>
> * ld-arm/arm-elf.exp: Add new testcases.
> * ld-arm/attr-merge-2.attr: Update ouput.
> * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
> * ld-arm/attr-merge-2b.s: Likewise.
> * ld-arm/attr-merge-3.attr: Updated expected output.
> * ld-arm/attr-merge-4.attr: Likewise.
The new tests fail for arm-eabi cross from x86_64-unknown-linux-gnu:
Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/arm-elf.exp ...
FAIL: EABI attribute merging 3
FAIL: ld-arm/attr-merge-div-01
FAIL: ld-arm/attr-merge-div-10
FAIL: ld-arm/attr-merge-div-120
FAIL: ld-arm/attr-merge-div-02
FAIL: ld-arm/attr-merge-div-20
In ld.log:
/tmp/hpautotest-binutils/arm-axis-eabi/ld/../binutils/readelf -A tmpdir/attr-merge-3
regexp_diff match failure
regexp "^ Tag_DIV_use: Not allowed$"
line " Tag_T2EE_use: Allowed"
regexp_diff match failure
regexp "^ Tag_T2EE_use: Allowed$"
line " Tag_Virtualization_use: TrustZone"
extra regexps in /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/attr-merge-3.attr starting with "^ Tag_Virtualiz
ation_use: TrustZone$"
EOF from dump.out
FAIL: EABI attribute merging 3
...
Executing on host: sh -c {/tmp/hpautotest-binutils/arm-axis-eabi/ld/../binutils/readelf -A tmpdir/dump > tmpdir/dump.ou
t 2>ld.tmp} /dev/null (timeout = 300)
extra regexps in /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/attr-merge-div-01.d starting with "^ Tag_DIV_use
: Not allowed$"
EOF from tmpdir/dump.out
FAIL: ld-arm/attr-merge-div-01
...
Executing on host: sh -c {./ld-new -L/tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm -r -o tmpdir/dump tmpdir/du
mp0.o tmpdir/dump1.o tmpdir/dump2.o 2>&1} /dev/null ld.tmp (timeout = 300)
./ld-new: DIV usage mismatch between tmpdir/dump2.o and tmpdir/dump
./ld-new: failed to merge target specific data of file tmpdir/dump2.o
failed with: <./ld-new: DIV usage mismatch between tmpdir/dump2.o and tmpdir/dump
./ld-new: failed to merge target specific data of file tmpdir/dump2.o>, expected: <>
./ld-new: DIV usage mismatch between tmpdir/dump2.o and tmpdir/dump
./ld-new: failed to merge target specific data of file tmpdir/dump2.o
failed with: <./ld-new: DIV usage mismatch between tmpdir/dump2.o and tmpdir/dump
./ld-new: failed to merge target specific data of file tmpdir/dump2.o>, expected: <>
FAIL: ld-arm/attr-merge-div-120
(the rest like the last one)
brgds, H-P