X-Git-Url: http://git.liburcu.org/?p=ust.git;a=blobdiff_plain;f=include%2Fust%2Fmarker.h;h=604aa23fa798dec2c72a830090e18d745a0a87da;hp=c82dd30dfef04326376057ab8608579776814a1e;hb=f08ebbe29cc9f6fa1c108907be5d9d92d297067e;hpb=022bb7e21a52c4c4da11a0ffaca4e7225e42a261 diff --git a/include/ust/marker.h b/include/ust/marker.h index c82dd30..604aa23 100644 --- a/include/ust/marker.h +++ b/include/ust/marker.h @@ -345,6 +345,8 @@ extern int marker_unregister_lib(struct marker * const *markers_start); #define MARKER_LIB \ extern struct marker * const __start___markers_ptrs[] __attribute__((weak, visibility("hidden"))); \ extern struct marker * const __stop___markers_ptrs[] __attribute__((weak, visibility("hidden"))); \ + static struct marker * const __mark_ptr_dummy \ + __attribute__((used, section("__markers_ptrs"))) = NULL;\ \ static void __attribute__((constructor)) __markers__init(void) \ { \