CrazyEngineers Archive
Old, but evergreen and popular discussions on CrazyEngineers, presented to you in read-only mode.
@Morningdot Hablu • 12 Jun, 2010

hi friend's

anybody have idea about what is relocating loader and how it is different from other loaders.


@sushant005 • 13 Jun, 2010 • 1 like It is a type of loader which load the program anywhere in the program.
Initially the programmers write their main program is so that it would transfer to the location assigned to the square root subroutine(SQRT).
the problem associated with this was that if the length of the program increased that may overlay the SQRT subroutine so to avoid this problem programmer used the subroutine that referred to each other symbolically rather then with the address part of the program.So the Relocating loader placed the subroutine in arbitrary core location.
@vishnu priya • 13 Jun, 2010 The relocating loader will load the program anywhere in memory, altering the various addresses as required to ensure correct referencing. The decision as to where in memory the program is placed is done by the Operating System, not the programs header file. This is obviously more efficient, but introduces a slight overhead in terms of a small delay whilst all the relative offsets are calculated. The relocating loader can only relocate code that has been produced by a linker capable of producing relative code.
@sushant005 • 15 Jun, 2010 @ Kangyuataii,
What you have written is totally making no sense to what is being asked in this thread.
please don't copy paste and read the question again it is about what is relocating loader?
@Ankita Katdare • 19 Mar, 2014 @sushant005 That's a really informative reply! Thank you.
@pratik bembalkar • 30 Apr, 2019 • 1 like

what is direct linking loader?

@Rashmi Gandhi • 26 Dec, 2019

This is a great question from System Programming subject. Thanks for A2A, guys! Instead of typing the definition from the book, I would just post a screenshot of my book -


Apart from that, when a loader allows delay of binding time, it's called a relocatable loader. It accepts  a sequence of segments in a special format as it input and loads it in memory.


Related Posts

@Saijayadeep · Mar 20, 2013

Hello CEans, How to convert CGPA (10 Point Scale) to Percentage? Please help!

@Ankita Katdare · Apr 23, 2014

IIT Madras has been on the forefront of placements in the IITian space when it comes to bagging highest salaries and students getting job offers from dream companies. In the...

@hitesh mundra · Jul 17, 2015

i am working as dba in noida. i got seat in cdac pg-dbda first round. i m getting salary 23k now. Is it right to join cdac now. Is there...

@jaspal rautela · Jun 18, 2012

what is difference between thick and thin cylinder?

@Dipankar Ganguly · Nov 10, 2017

Overheating is a very common problem especially with aging laptops. It can create a lot of issues and interfere with its usage by abruptly shutting it down and in extreme...