Question

In: Computer Science

INTRODUCTION TO COMPUTER SYSTEMS Explain the term relocation. Explain the structure of a Typical ELF executable...

INTRODUCTION TO COMPUTER SYSTEMS
Explain the term relocation. Explain the structure of a Typical ELF executable object file.

Solutions

Expert Solution

Explain the term relocation. Explain the structure of a Typical ELF executable object file.

Relocation is the process of assigning load addresses for position-dependent code and data of a program and adjusting the code and data to reflect the assigned addresses. Some architectures avoid relocation entirely by deferring address assignment to run time; this is known as zero address arithmetic .Prior to the advent of multiprocess systems, and still in many embedded systems, the addresses for objects were absolute starting at a known location, often zero. Since multiprocessing systems dynamically link and switch between programs it became necessary to be able to relocate objects using position-independent code. A linker usually performs relocation in conjunction with symbol resolution.

In computing, the Executable and Linkable Format (ELF) , formerly named Extensible Linking Format), is a common standard file format for executable files, object code, shared libraries, and core dumps. First published in the specification for the application binary interface (ABI) of the Unix operating system version named System V Release 4 (SVR4), and later in the Tool Interface Standard, it was quickly accepted among different vendors of Unix systems.

By design, the ELF format is flexible, extensible, and cross-platform. For instance it supports different endiannesses and address sizes so it does not exclude any particular central processing unit (CPU) or instruction set architecture. This has allowed it to be adopted by many different operating systems on many different hardware platforms.

In this figure an ELF file has two views: the program header shows the segments used at run time, whereas the section header lists the set of sections of the binary.


Related Solutions

2. Describe the structure of a typical amino acid and explain how they chemically combine to...
2. Describe the structure of a typical amino acid and explain how they chemically combine to make a protein 3. Describe the process of catabolic repression by glucose concentration, as seen in the lac operon control.
Write INTRODUCTION and explain the term Law of Agency & Agency by ratification. Elaborate the terms...
Write INTRODUCTION and explain the term Law of Agency & Agency by ratification. Elaborate the terms and provide articles that talked about it.
Summarize, compare, and contrast the various theories that explain the shape of the term structure of...
Summarize, compare, and contrast the various theories that explain the shape of the term structure of interest rates. Which theory is most reasonable? What do researchers, academics, and practitioners, think about these various theories? Please support your answer with appropriate research.
Explain the different term structure theories and their implications for a yield curve. Then comment on...
Explain the different term structure theories and their implications for a yield curve. Then comment on the components of interest rates and how these impact a yield curve.
Explain the architecture of digital computer (in information and technology term) in 3 or 4 sentences.
Explain the architecture of digital computer (in information and technology term) in 3 or 4 sentences.
Operating systems typically split functionality into layers. Explain the advantages and disadvantages of the structure of...
Operating systems typically split functionality into layers. Explain the advantages and disadvantages of the structure of software as layers in distributed systems
What is the term structure of interest rates? Define it and explain main theories behind it.
What is the term structure of interest rates? Define it and explain main theories behind it.
1 Explain the meaning of the term mutarotation. 2 Draw the structure of a disaccharide made...
1 Explain the meaning of the term mutarotation. 2 Draw the structure of a disaccharide made up of two D-glucose units. The glycosidic bond is     α-1,6-glycosidic bond. 3 Trehalose is a disaccharide that can be obtained from fungi, sea urchins and insects. Acid hydrolysis of     trehalose yields only D-glucose. Trehalose is hydrolysed by α-glucosidase and not by β-glucosidase     enzymes. Methylation of trehalose followed by hydrolysis yields two molar equivalents of     2,3,4,6-tetra-O-methyl-D-glucopyranose.   From the following experimental data,...
Create frame/structure of an introduction, thesis, evidence, analysis, proper context for the following questions. 1. Explain...
Create frame/structure of an introduction, thesis, evidence, analysis, proper context for the following questions. 1. Explain the origins and major events of WWII: - How did the USA get involved in the war? - What impact did the war have on the economy, race relations? - How did the war end?
Explain how different theories explain term structure of interest rates and how the Federal Reserve can...
Explain how different theories explain term structure of interest rates and how the Federal Reserve can conduct policies to impact interest rates.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT