Changeset c4049e6 in mainline for uspace/lib/c/generic/elf
- Timestamp:
- 2018-07-05T21:41:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9283830
- Parents:
- 9396c52
- git-author:
- Dzejrou <dzejrou@…> (2018-03-15 10:40:53)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
- Location:
- uspace/lib/c/generic/elf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/elf/elf_load.c
r9396c52 rc4049e6 112 112 pcb->dynamic = info->finfo.dynamic; 113 113 pcb->rtld_runtime = info->env; 114 pcb->cpp_data = info->finfo.cpp_data; 114 115 } 115 116 -
uspace/lib/c/generic/elf/elf_mod.c
r9396c52 rc4049e6 198 198 size_t phdr_len = header->e_phnum * header->e_phentsize; 199 199 200 elf->info->interp = NULL; 201 elf->info->dynamic = NULL; 202 elf->info->cpp_data.ctors_count = 0; 203 elf->info->cpp_data.dtors_count = 0; 204 200 205 if (phdr_len > sizeof(phdr)) { 201 206 DPRINTF("more than %d program headers\n", phdr_cap);
Note:
See TracChangeset
for help on using the changeset viewer.