mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
C++ static destructors work with ELF load too now
git-svn-id: svn://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