add a AT_ENTRY entry to the auxiliary vector
This commit is contained in:
@@ -152,6 +152,7 @@ struct program_load_desc *load_elf(FILE *fp)
|
||||
desc->at_phdr = load_addr + hdr.e_phoff;
|
||||
desc->at_phent = sizeof(phdr);
|
||||
desc->at_phnum = hdr.e_phnum;
|
||||
desc->at_entry = hdr.e_entry;
|
||||
|
||||
return desc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user