This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
You should have asked this at the bunutils list.
loody wrote:my init is a very simple program like below
#include <stdio.h> int main() { printf("hello world\n"); sleep(999999); return 0; } And my init is static build with "-static" option and I use cross-objdump to read it and it doesn't tell me there are any library it depends on.
I study the kernel source and find my error comes from search_binary_handler and it return -8, -ENOEXEC, while executing, fmt->load_binary.
And I check my fs folder and I only see this *.o files: -rw-r--r-- 1 root root 2748 2009-01-23 11:42 binfmt_script.o which is the default binfmt that will support.
1. are my assumptions above correct? take my static build init for example, should I check whether static binary elf support code has build in my kernel?
2. if my assumption correct, which one in the list is my choice and what config I should add in my uclinxu kernel config?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |