On 11/13/2021 2:45 AM, Maxim Blinov wrote:
Implement the __builtin_nested_func_ptr_{created,deleted} functions
for the x86_64-linux platform. This serves to exercise the
infrastructure added in libgcc (--enable-off-stack-trampolines) and
gcc (-foff-stack-trampolines) in supporting off-stack trampoline
generation, and is intended primarily for demonstration and debugging
purposes.

Co-authored-by: Andrew Burgess <andrew.burg...@embecosm.com>

libgcc/ChangeLog:

        * config/i386/heap-trampoline.c: New file: Implement off-stack
        trampolines for x86_64.
        * config/i386/t-heap-trampoline: Add rule to build
        config/i386/heap-trampoline.c
        * config.host (x86_64-*-linux*): Handle
        --enable-off-stack-trampolines.
        * configure.ac (--enable-off-stack-trampolines): Permit setting
        for target x86_64-*-linux*.
        * configure: Regenerate.
I'd probably drop this.   I realize it's useful for testing purposes, but I'm not sure we want it in the tree.

jeff

Reply via email to