https://sourceware.org/bugzilla/show_bug.cgi?id=22304

--- Comment #7 from Hans-Peter Nilsson <hp at sourceware dot org> ---
(In reply to H.J. Lu from comment #0)
> On x86-64, cross binutils to cris-linux gave
> 
> XPASS: gas/cris/shexpr-1
> XPASS: gas/cris/range-err-1.s  (test for errors, line 29)
> XPASS: gas/cris/range-err-1.s  (test for errors, line 38)
> XPASS: gas/cris/range-err-1.s  (test for errors, line 50)

(with an LP64 host or --enable-64-bit-bfd)

> These should be removed.  Similar check can be used to detect 64-bit AS:
> 
> commit 978c05401b0f0ac7a94cca7db19b1dec0c5bd698
> Author: H.J. Lu <hjl.to...@gmail.com>
> Date:   Wed Aug 9 15:04:05 2017 -0700
> 
>     Run PR ld/17618 test only with 64-bit ELF linker
>     
>     PR ld/17618 test requires 64-bit linker to run.  Set LD_CLASS to "64bit"
>     for 64-bit ELF linker and run PR ld/17618 test only if $LD_CLASS is
>     "64bit".  More checks can be added to support 64-bit linkers in non-ELF
>     format.

No, that method has a bug: you're confusing host with target there, though it's
fixable.  Details on the main mailing list.  Also, not usable as-is with a
suffix-driven run_dump_test and also not applicable as it's a bfd-size issue,
not a elf-class issue.

I'll do something else.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to