mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
C++ constructors work with ELF load now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5273 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* binfmt/binfmt_dumpmodule.c
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -90,8 +90,12 @@ int dump_module(FAR const struct binary_s *bin)
|
||||
bdbg(" filename: %s\n", bin->filename);
|
||||
bdbg(" argv: %p\n", bin->argv);
|
||||
bdbg(" entrypt: %p\n", bin->entrypt);
|
||||
bdbg(" ispace: %p size=%d\n", bin->ispace, bin->isize);
|
||||
bdbg(" dspace: %p\n", bin->dspace);
|
||||
bdbg(" mapped: %p size=%d\n", bin->mapped, bin->mapsize);
|
||||
bdbg(" alloc: %p %p\n", bin->alloc[0], bin->alloc[1]);
|
||||
#ifdef CONFIG_BINFMT_CONSTRUCTORS
|
||||
bdbg(" ctors: %p nctors=%d\n", bin->ctors, bin->nctors);
|
||||
bdbg(" dtors: %p ndtors=%d\n", bin->dtors, bin->ndtors);
|
||||
#endif
|
||||
bdbg(" stacksize: %d\n", bin->stacksize);
|
||||
}
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user