bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22360] ld --wrap not wrapping all function calls


From: amodra at gmail dot com
Subject: [Bug ld/22360] ld --wrap not wrapping all function calls
Date: Thu, 29 Feb 2024 04:18:53 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22360

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX
          Component|binutils                    |ld
            Summary|Wl not wrapping all         |ld --wrap not wrapping all
                   |functions call              |function calls

--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
Yes, it is true that --wrap does not use wrappers for all calls.  As the
documentation says: "Any undefined reference...".  If you have any sort of
definition, including a weak one, those calls won't be wrapped.  This is
particularly annoying if trying to wrap calls when using -flto.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]