Jump to content

Loader (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 138.23.169.17 (talk) at 00:25, 12 June 2007. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, a loader is the part of an operating system that is responsible for loading programs from executables into memory, preparing them for execution and then executing them. The loader is usually a part of the operating system's kernel and usually is loaded at system boot time and stays in memory until the system is rebooted, shut down, or powered off. Some operating systems that have a pageable kernel may have the loader in the pageable part of memory and thus the loader sometimes may be swapped out of memory. All operating systems that support program loading has a loader. Some embedded operating systems in highly specialized computers have no program loading capabilities and thus no loaders, for example embedded systems in cars or stereo equipment. In Unix, the loader is the handler for the system call execve().

Dynamic linkers are another type of loader that load and link shared libraries (dlls) to already loaded running programs.

Loader programs are useful for prototyping, testing, and one-off applications. One such program was an integral part of Gene Amdahl's original OS/360 operating system, and this loader facility was continued through OS/360's descendants including MVT, MVS and z/OS.

See also