From 4408603e27d028c5c735cf5d9d8160807ce1d591 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 9 Jan 2019 22:14:11 +1100 Subject: libdl: Fix the support for constructors and desctructors. - Fix the handling of pending objects. - Add a constructor flags in objects to track then being called. Closes #2921 --- cpukit/include/rtems/rtl/rtl-obj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/include/rtems') diff --git a/cpukit/include/rtems/rtl/rtl-obj.h b/cpukit/include/rtems/rtl/rtl-obj.h index bc503887e2..b7522a7d39 100644 --- a/cpukit/include/rtems/rtl/rtl-obj.h +++ b/cpukit/include/rtems/rtl/rtl-obj.h @@ -168,6 +168,7 @@ typedef bool (*rtems_rtl_obj_depends_iterator) (rtems_rtl_obj* obj, #define RTEMS_RTL_OBJ_RELOC_TAG (1 << 3) /**< Tag the object as visited when reloc * parsing. */ #define RTEMS_RTL_OBJ_DEP_VISITED (1 << 4) /**< Dependency loop detection. */ +#define RTEMS_RTL_OBJ_CTOR_RUN (1 << 5) /**< Constructors have been called. */ /** * RTL Object. There is one for each object module loaded plus one for the base -- cgit v1.2.3