Home | History | Annotate | Download | only in SharedLibs
      1 #include <stdlib.h>
      2 
      3 #include "dso-origin.h"
      4 
      5 void my_access(int *p) {
      6   volatile int tmp;
      7   // Force initialize-ness check.
      8   if (*p)
      9     tmp = 1;
     10 }
     11 
     12 void *my_alloc(unsigned sz) {
     13   return malloc(sz);
     14 }
     15