[patch] Fix the plugin search in some file systems
Ian Lance Taylor
iant@google.com
Fri Jun 5 15:19:00 GMT 2009
Rafael Espindola <espindola@google.com> writes:
>> Some operating systems do not provide a d_type field at all. The
>> binutils should be highly portable. You should only check the d_type
>> field if a configure check shows that it is present.
>
> Is there an existing check already?
Not that I know of, but it would be easy to add.
> If not I think it is best to just take the
> performance hit and always stat the file. Would that be ok?
No opinion. If the performance hit is only when a --plugin option is
used, it doesn't seem too important.
Ian
More information about the Binutils
mailing list