diff options
author | Chris Johns <chrisj@rtems.org> | 2019-01-09 22:14:11 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-02-09 10:06:34 +1100 |
commit | 4408603e27d028c5c735cf5d9d8160807ce1d591 (patch) | |
tree | c27bef5ceb630e13724bd11791659c0fae3e0543 /cpukit/include/rtems | |
parent | libtest/dl08: Add a test for archives. (diff) | |
download | rtems-4408603e27d028c5c735cf5d9d8160807ce1d591.tar.bz2 |
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
Diffstat (limited to 'cpukit/include/rtems')
-rw-r--r-- | cpukit/include/rtems/rtl/rtl-obj.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |