This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, binutils] Fix implib test failures
- From: Nick Clifton <nickc at redhat dot com>
- To: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>, binutils at sourceware dot org
- Cc: amodra at gmail dot com
- Date: Tue, 19 Jul 2016 16:34:26 +0100
- Subject: Re: [PATCH, binutils] Fix implib test failures
- Authentication-results: sourceware.org; auth=none
- References: <1550516.5AJhRDy2yK@e108577-lin> <6734597d-2dc1-b2c3-5f19-62b3eab05206@redhat.com> <2932070.2gxsOoQsSX@e108577-lin>
Hi Thomas,
>> +setup_xfail "am33lin-*-*" "d30v-*-*" "dlx-*-*" "i960-*-*" "m68hc1x-*-*"
>> +setup_xfail "m88k-*-*" "pj-*-*" "score7-*-*" "sh64-*-*" "vxworks-*-*"
>>
>> There are other score targets apart from score7. score-elf and score3-elf
>> for example. How about score*-*-* instead ?
>
> I did not know how to get the affected triplet. All I got was a list of
> bfd/elf*-*.c that do not define elf_backend_relocate_section. I use the the
> value for the second * as the machine bit of the triplet.
Right, and you skipped the elfxx-*.c targets that matched this test as well,
right. I think that the test should be any elf*.c file that does not define
elf_backend_relocate section or reference bfd_elf_final_link and which *does*
include elfNN-target.h - ie one which creates an elf_backend_data structure.
So I think that you can skip vxworks entirely here, since elf-vxworks.c is
just a support file for vxworks targets, and not a cpu type by itself.
(Similarly for am33lin which just #include's elf-m10300.c which then does
define elf_backend_relocate_section.
> Are there other
> triplet in this list you see as not being inclusive enough?
Nope.
> How can I find the
> list of triplet corresponding to a given bfd file?
Look in bfd/configure.ac. Starting at around line 382 there is a list
of targets and the target specific files that they need. A little bit
of searching can tell you which files are used by which targets.
Cheers
Nick