| 925 | } |
| 926 | |
| 927 | static int |
| 928 | link_elf_link_preload_finish(linker_file_t lf) |
| 929 | { |
| 930 | elf_file_t ef; |
| 931 | int error; |
| 932 | |
| 933 | ef = (elf_file_t) lf; |
| 934 | error = relocate_file(ef); |
| 935 | if (error == 0) |
| 936 | error = preload_protect(ef, VM_PROT_NONE); |
| 937 | if (error != 0) |
| 938 | return (error); |
| 939 | (void)link_elf_preload_parse_symbols(ef); |
| 940 | |
| 941 | return (link_elf_link_common_finish(lf)); |
| 942 | } |
| 943 | |
| 944 | static int |
| 945 | link_elf_load_file(linker_class_t cls, const char* filename, |
nothing calls this directly
no test coverage detected