Loader (computing)

In computer systems a loader is the part of an operating system that is responsible for loading programs and libraries. It is one of the essential stages in the process of starting a program, as it places programs into memory and prepares them for execution. Loading a program involves memory-mapping the contents of the executable file containing the program instructions into memory, and then carrying out other required preparatory tasks to prepare the executable for running. Once loading is complete, the operating system starts the program by passing control to the loaded program code.

Comment
enIn computer systems a loader is the part of an operating system that is responsible for loading programs and libraries. It is one of the essential stages in the process of starting a program, as it places programs into memory and prepares them for execution. Loading a program involves memory-mapping the contents of the executable file containing the program instructions into memory, and then carrying out other required preparatory tasks to prepare the executable for running. Once loading is complete, the operating system starts the program by passing control to the loaded program code.
Has abstract
enIn computer systems a loader is the part of an operating system that is responsible for loading programs and libraries. It is one of the essential stages in the process of starting a program, as it places programs into memory and prepares them for execution. Loading a program involves memory-mapping the contents of the executable file containing the program instructions into memory, and then carrying out other required preparatory tasks to prepare the executable for running. Once loading is complete, the operating system starts the program by passing control to the loaded program code. All operating systems that support program loading have loaders, apart from highly specialized computer systems that only have a fixed set of specialized programs. Embedded systems typically do not have loaders, and instead, the code executes directly from ROM or similar. In order to load the operating system itself, as part of booting, a specialized boot loader is used. In many operating systems, the loader resides permanently in memory, though some operating systems that support virtual memory may allow the loader to be located in a region of memory that is pageable. In the case of operating systems that support virtual memory, the loader may not actually copy the contents of executable files into memory, but rather may simply declare to the virtual memory subsystem that there is a mapping between a region of memory allocated to contain the running program's code and the contents of the associated executable file. (See memory-mapped file.) The virtual memory subsystem is then made aware that pages with that region of memory need to be filled on demand if and when program execution actually hits those areas of unfilled memory. This may mean parts of a program's code are not actually copied into memory until they are actually used, and unused code may never be loaded into memory at all.
Hypernym
Part
Is primary topic of
Loader (computing)
Label
enLoader (computing)
Link from a Wikipage to another Wikipage
360
360
Architecture
Base address
Booting
Boot loader
Bug compatibility
Callback (computer science)
Category:Computer libraries
Category:Operating system kernels
Command-line argument
Compile and go system
Computer program
Computing
Critical section
Direct binding
DLL hell
Doubly-linked list
Dynamic binding (computing)
Dynamic dead code elimination
Dynamic dispatch
Dynamic library
Dynamic linker
Dynamic link library
Dynamic-link library
Dynamic loading
Dynamic memory allocation
Embedded system
Executable
Executable and Linkable Format
GNU linker
Gold (linker)
Kernel (operating system)
KERNEL32.DLL
Library (computing)
Linker (computing)
Main memory
Memory-mapped file
Microsoft Windows
Name decoration
Ntdll.dll
O
Operating system
OS
Output Supervisor
Paging
Prebinding
Prelink
Prelinking
Processor register
Relocating loader
Relocation (computer science)
Relocation table
Shared libraries
Shebang (Unix)
Static library
System call
Unix
Virtual memory
SameAs
4psjf
Cargador de programas
Chargeur (informatique)
Lader (Programmierung)
Laster (informatikk)
Loader (computing)
Loader (számítástechnológia)
m.02f m5
Nalagalnik
Pemuat (komputer)
Q650550
Yükleyici (programlama)
Yükləyici(loader)
Zavaděč (program)
Загрузчик программ
Ծրագրի բեռնիչ
טוען (תוכנה)
محمل (حوسبة)
ローダ
載入器
로더 (컴퓨팅)
Subject
Category:Computer libraries
Category:Operating system kernels
WasDerivedFrom
Loader (computing)?oldid=1113765613&ns=0
WikiPageLength
10371
Wikipage page ID
483773
Wikipage revision ID
1113765613
WikiPageUsesTemplate
Template:Application binary interface
Template:Authority control
Template:Div col
Template:Div col end
Template:For
Template:Portal
Template:Refimprove
Template:Reflist
Template:Short description