/programs/system/os/kolibri.asm |
---|
308,7 → 308,7 |
end data |
kolibri_dll db '/rd/1/lib/kolibri.dll',0 |
kolibri_dll db '/sys/lib/kolibri.dll',0 |
.size = $ - kolibri_dll |
console_dll db 'console.dll',0 |
322,11 → 322,11 |
msg_noreloc1 db 'Module ',0 |
msg_noreloc2 db ' is not at preferred base and has no fixups',0 |
loader_debugboard_prefix db 'S : ',0 |
notify_program db '/rd/1/@notify',0 |
notify_program db '/sys/@notify',0 |
msg_cannot_open db 'Cannot open ',0 |
msg_paths_begin db ' in any of ' |
module_path1 db '/rd/1/lib/' |
module_path1 db '/sys/lib/' |
.size = $ - module_path1 |
db ', ' |
module_path2 db '/kolibrios/lib/' |
/programs/system/os/modules.inc |
---|
7,7 → 7,7 |
; |
; If filename starts with '/', it is treated as an absolute file name. |
; Otherwise, dlopen searches for filename in predefined locations: |
; /rd/1/lib, /kolibrios/lib, directory of the executable file. |
; /sys/lib, /kolibrios/lib, directory of the executable file. |
; The current directory is *not* searched. |
; |
; If the same module is loaded again with dlopen(), the same |
511,7 → 511,7 |
jmp .load_failed |
.relative: |
; 1d. The given path is relative. |
; Try /rd/1/lib/, /kolibrios/lib/ and path to executable |
; Try /sys/lib/, /kolibrios/lib/ and path to executable |
; in this order. |
stdcall try_map_module, module_path1, module_path1.size |
test eax, eax |