mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 11:23: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:
@@ -85,7 +85,7 @@
|
||||
#ifdef CONFIG_BINFMT_CONSTRUCTORS
|
||||
static inline void exec_dtors(FAR const struct binary_s *binp)
|
||||
{
|
||||
elf_dtor_t *dtor = binp->dtors;
|
||||
binfmt_dtor_t *dtor = binp->dtors;
|
||||
int i;
|
||||
|
||||
/* Execute each destructor */
|
||||
|
||||
Reference in New Issue
Block a user