Finish implemention of ELF loader static constructor support. Still some issues.

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5272 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-10-29 00:52:23 +00:00
parent 61c97b1ddc
commit 71fad980c5
21 changed files with 532 additions and 928 deletions
+2
View File
@@ -323,6 +323,8 @@ examples/elf
CELFFLAGS = $(CFLAGS) -mlong-calls
Similarly for C++ flags which must be provided in CXXELFFLAGS.
2. Your top-level nuttx/Make.defs file must alos include an approproate definition,
LDELFFLAGS, to generate a relocatable ELF object. With GNU LD, this should
include '-r' and '-e main' (or _main on some platforms).