PATCH: PR ld/12761: .gnu.warning.* doesn't work when building shared library
Ian Lance Taylor
Tue May 17 16:34:00 GMT 2011
"H.J. Lu" <firstname.lastname@example.org> writes:
> On Tue, May 17, 2011 at 8:02 AM, Ian Lance Taylor <email@example.com> wrote:
>> "H.J. Lu" <firstname.lastname@example.org> writes:
>>>> The difference is that the author of a shared library can call a
>>>> function with a warning safely from another externally visible function
>>>> which does not require a warning.
>>> How does linker know warning is from the author of a shared library.
>>> A shared library may contain many 3rd party objects.
>> Sure, but it's hardly the common case.
> 3rd party may be a team member or the warning may be written
> by the same author many years ago.
Sure, but it's hardly the common case.
More information about the Binutils