mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 14:03:34 +08:00
C++ static destructors work with ELF load too now
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5274 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
#ifdef CONFIG_BINFMT_CONSTRUCTORS
|
||||
static inline void exec_ctors(FAR const struct binary_s *binp)
|
||||
{
|
||||
elf_ctor_t *ctor = binp->ctors;
|
||||
binfmt_ctor_t *ctor = binp->ctors;
|
||||
int i;
|
||||
|
||||
/* Execute each constructor */
|
||||
|
||||
Reference in New Issue
Block a user