diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2013-08-19 18:08:31 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2013-08-19 18:08:31 -0700 |
commit | 2a0bfcd3da1a9f76cd2d0b05f59afb6533faa318 (patch) | |
tree | 5ed42845fbd745a190947a702d6db771df08c76e | |
parent | ecb15c6cabd106a186ee1caad086cb11c80cb84e (diff) | |
download | pk-2a0bfcd3da1a9f76cd2d0b05f59afb6533faa318.zip pk-2a0bfcd3da1a9f76cd2d0b05f59afb6533faa318.tar.gz pk-2a0bfcd3da1a9f76cd2d0b05f59afb6533faa318.tar.bz2 |
Don't clobber the ELF headers!
-rw-r--r-- | pk/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -45,6 +45,7 @@ static void user_init() // load program named by argv[0] current.phdr_top = stack_top; load_elf((char*)args->argv[0], ¤t); + stack_top = current.phdr; struct { long key; |