Contents|Index|Previous|Next
ld sections

ld deals with the following kinds of sections.
  An idealized example of three relocatable sections follows. The following example uses the traditional section names .text and .data. Memory addresses are on the horizontal axis.

Partial program #1:
 text                               data                            bss 
 
 ttttt                              dddd                            00              

Partial program #2:
 text                               data                            bss 
 
 TTT                                DDDD                            000              

Linked program:
  text                              data                            bss 
 
  TTT ttttt   dddd    DDDD                            00000 ...

Addresses:
   0...


Top|Contents|Index|Previous|Next