https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Antoni Boucher <ant...@gcc.gnu.org>: https://gcc.gnu.org/g:0b52083ea2c2dd9897031fdc3802a68fd4aa45ef commit r12-5917-g0b52083ea2c2dd9897031fdc3802a68fd4aa45ef Author: Antoni Boucher <boua...@zoho.com> Date: Sun Dec 12 16:16:21 2021 -0500 libgccjit: Add support for setting the link section of global variables [PR100688] 2021-12-12 Antoni Boucher <boua...@zoho.com> gcc/jit/ PR target/100688 * docs/topics/compatibility.rst (LIBGCCJIT_ABI_18): New ABI tag. * docs/topics/expressions.rst: Add documentation for the function gcc_jit_lvalue_set_link_section. * jit-playback.h: New function (set_link_section). * jit-recording.c: New function (set_link_section) and support for setting the link section. * jit-recording.h: New function (set_link_section) and new field m_link_section. * libgccjit.c: New function (gcc_jit_lvalue_set_link_section). * libgccjit.h: New function (gcc_jit_lvalue_set_link_section). * libgccjit.map (LIBGCCJIT_ABI_18): New ABI tag. gcc/testsuite/ PR target/100688 * jit.dg/all-non-failing-tests.h: Mention new test link-section-assembler. * jit.dg/test-link-section-assembler.c: New test. * jit.dg/jit.exp: New helper function to test that the assembly contains a pattern.