1 /* Test module for making nonexecutable stacks executable
2 on load of a DSO that requires executable stacks. */
8 void callme (void (*callback) (void));
10 /* This is a function that makes use of executable stack by
11 using a local function trampoline. */
16 void callback (void) { ok = true; }
21 printf ("DSO called ok (local %p, trampoline %p)\n", &ok, &callback);
27 callme (void (*callback) (void))