Changeset bb9ec2d in mainline for uspace/lib/c/generic/elf/elf_mod.c
- Timestamp:
- 2017-03-07T20:47:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- a737667e
- Parents:
- e796dc8
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-07 20:47:35)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-07 20:47:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/elf/elf_mod.c
re796dc8 rbb9ec2d 92 92 * 93 93 */ 94 static int elf_load_file2(int file, size_t so_bias, eld_flags_t flags, elf_finfo_t *info)94 int elf_load_file(int file, size_t so_bias, eld_flags_t flags, elf_finfo_t *info) 95 95 { 96 96 elf_ld_t elf; … … 112 112 } 113 113 114 int elf_load_file(const char *path, size_t so_bias, eld_flags_t flags, elf_finfo_t *info) 114 int elf_load_file_name(const char *path, size_t so_bias, eld_flags_t flags, 115 elf_finfo_t *info) 115 116 { 116 117 int file = vfs_lookup(path); 117 int rc = elf_load_file 2(file, so_bias, flags, info);118 int rc = elf_load_file(file, so_bias, flags, info); 118 119 close(file); 119 120 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.