Update LTO plugin interface
H.J. Lu
hjl.tools@gmail.com
Thu Dec 2 23:06:00 GMT 2010
On Thu, Dec 2, 2010 at 1:10 PM, Cary Coutant <ccoutant@google.com> wrote:
>
> For every new routine that the gcc backend generates a new call to, it
> ought to know which library that routine is defined in, and should be
> able to add that library after the generated object(s) during the
> all-symbols-read callback. We really don't want to support arbitrary
> interposition at that point, because a user-supplied replacement might
> invalidate some assumptions that were made during optimization.
>
For each libcall, we need to decorate
1. Which library it comes from. It is OS/target dependent.
2. The dynamic and static library names. In most cases, they
are the same. For glibc, they are different.
--
H.J.
More information about the Binutils
mailing list