This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU attribute output on errors


On Wed, Jul 04, 2018 at 02:49:16PM -0400, Carlos O'Donell wrote:
> My opinion is that you should never omit Tag_GNU_Power_ABI_FP.
> 
> It has to be present to distinguish between:
> 
> * Don't know? (Old toolchain, no tags).
> 
> * Don't care (New toolchain, doesn't matter or both ABIs supported).
> 
> The point is to be able to warn on the "Don't know" case so users can
> legitimately see and know which objects need to be recompiled in order to
> better diagnose ABI issues.
> 
> Such old objects do exist, or they might be written in assembly, and just
> need to be analyzed and have markup added.

No existing version of gcc always emits Tag_GNU_Power_ABI_FP.  There
are other compilers to consider too.

That is the cold hard reality that makes a linker warning on "don't
know" impractical.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]