On Thu, 2021-05-20 at 15:29 -0400, David Malcolm wrote: > On Wed, 2021-05-19 at 20:32 -0400, Antoni Boucher via Jit wrote: > > Hello. > > This patch adds support to set the link section of global > > variables. > > I used the ABI 18 because I submitted other patches up to 17. > > Thanks for the review. > > I didn't see this email until now, and put the review in bugzilla > instead; sorry. > > Here's a copy-and-paste of what I put in bugzilla: >
[..snip...] > > > diff --git a/gcc/testsuite/jit.dg/all-non-failing-tests.h > b/gcc/testsuite/jit.dg/all-non-failing-tests.h > > index 4202eb7798b..7e3b59dee0d 100644 > > --- a/gcc/testsuite/jit.dg/all-non-failing-tests.h > > +++ b/gcc/testsuite/jit.dg/all-non-failing-tests.h > > @@ -181,6 +181,13 @@ > > #undef create_code > > #undef verify_code > > > > +/* test-link-section.c */ > > +#define create_code create_code_link_section > > +#define verify_code verify_code_link_section > > +#include "test-link-section.c" > > +#undef create_code > > +#undef verify_code > > + > > /* test-hello-world.c */ > > #define create_code create_code_hello_world > > #define verify_code verify_code_hello_world Something else I just noticed when looking at another of your patches: you also need to add a new entry to the "testcases" array to use the new {create|verify}_code_link_section functions. > [...snip...] Dave