summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/image')
-rw-r--r--src/image/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/elf.c b/src/image/elf.c
index 167ef2bf7..75c976eaf 100644
--- a/src/image/elf.c
+++ b/src/image/elf.c
@@ -136,8 +136,8 @@ int elf_load ( struct image *image ) {
return rc;
}
- /* Fill in entry point address */
- image->entry = ehdr.e_entry;
+ /* Record execution entry point in image private data field */
+ image->priv.phys = ehdr.e_entry;
return 0;
}