https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980

--- Comment #9 from Giuliano Belinassi <giuliano.belinassi at gmail dot com> ---
Hello, Kewen.

(In reply to Kewen Lin from comment #8)
> Hi @Michael, @Martin, could you help to confirm/clarify what triggers you to
> be interested in this feature, is it for some user space usage or not?

Yes, this is for userspace livepatching.

Assume the following example:
https://godbolt.org/z/b9M8nMbo1

As one can see, the sequence of 14 nops are generated after the global function
entry point. In such way we can't use the this space to place a trampoline to
the new function. We need this sequence of nops to be placed *before* the
global function entry point.

Thanks,
Giuliano.

Reply via email to