populate ELF header information on the initial stack so that glibc can set up TLS properly

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2012-10-09 00:51:50 +09:00
parent f1da972bb7
commit 9a8449df2b
7 changed files with 67 additions and 8 deletions

View File

@ -90,6 +90,9 @@ struct program_load_desc {
int pid;
unsigned long entry;
unsigned long rprocess;
unsigned long at_phdr;
unsigned long at_phent;
unsigned long at_phnum;
char *args;
unsigned long args_len;
char *envs;