2014-03-19 18:37 GMT+01:00 Joseph S. Myers <jos...@codesourcery.com>:
> On Wed, 19 Mar 2014, Kai Tietz wrote:
>
>> The concept of weak - as present in ELF - isn't known in COFF in
>> general.  There is some weak, but it works only for static library and
>> in a limitted way.  Therefore we can't (and don't) use it for COFF
>> targets.
>
> There are already two different checks (check_weak_available and
> check_weak_override_available), reflecting what different testcases need.
> Is the requirement for these tests logically different from both of those?
> If so, maybe there should be a third such check (even if in fact it does
> the same thing as check_weak_override_available).
>
> --
> Joseph S. Myers
> jos...@codesourcery.com

On a second thought the disabling of weak-available for mingw-targets
seems to be wrong.  Actually weak is present.  It just has a different
meaning.
Those testcases are - AFAIU them - actually checking that weaks are
available. Nevertheless the check here intends to probe if
weak-override is possible.  As otherwise weaks make no sense here
AFAICS.
I don't think that we need to add a third check here. It might be
enough to check for weak-override-available instead for those tests.

Kai

Reply via email to