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:
patacongo
2012-10-29 20:43:35 +00:00
parent 5681b615ec
commit b48508c844
13 changed files with 344 additions and 89 deletions
+1 -1
View File
@@ -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 */