diff options
author | Roland McGrath <roland@gnu.org> | 2004-09-26 20:19:54 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-09-26 20:19:54 +0000 |
commit | f8999910e69fb89928fc7f39a562d588dc3a44c8 (patch) | |
tree | 1fae1e682c04a47fa9bc91781738f6226bdcbd6e /exec/priv.h | |
parent | a745fb9c581beb8262c70d6805905706756ecf7b (diff) | |
download | hurd-f8999910e69fb89928fc7f39a562d588dc3a44c8.tar.gz hurd-f8999910e69fb89928fc7f39a562d588dc3a44c8.tar.bz2 hurd-f8999910e69fb89928fc7f39a562d588dc3a44c8.zip |
2004-09-26 Roland McGrath <roland@frob.com>
* priv.h (struct execdata.info.elf): New field `phdr_addr'.
* exec.c (check_elf): Set E->info.elf.phdr_addr here from e_phoff.
(check_elf_phdr): Don't check for PT_PHDR, remove last two args.
(do_exec): Update callers. Set BOOT->phdr_addr and BOOT->phdr_size
using info saved by check_elf.
Diffstat (limited to 'exec/priv.h')
-rw-r--r-- | exec/priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/priv.h b/exec/priv.h index 625ea477..7cee15e4 100644 --- a/exec/priv.h +++ b/exec/priv.h @@ -148,6 +148,7 @@ struct execdata After `check' this is a pointer into the mapping window. By `load' it is local alloca'd storage. */ ElfW(Phdr) *phdr; + ElfW(Addr) phdr_addr; ElfW(Word) phnum; /* Number of program header table elements. */ int anywhere; /* Nonzero if image can go anywhere. */ vm_address_t loadbase; /* Actual mapping location. */ |