A program called a loader performs the two function of loading and link-editing. The process of loading consists of taking relocatable machine code, altering the relocatable addresses and placing the altered instruction and data in memory at the proper locations.