Performing the Final Link




Performing the Final Link - Untitled














Previous: Adding Symbols to the Hash Table,
Up: Linker Functions



2.17.3 Performing the final link

When all the input files have been processed, the linker calls
the _bfd_final_link entry point of the output BFD. This
routine is responsible for producing the final output file,
which has several aspects. It must relocate the contents of
the input sections and copy the data into the output sections.
It must build an output symbol table including any local
symbols from the input files and the global symbols from the
hash table. When producing relocatable output, it must
modify the input relocs and write them into the output file.
There may also be object format dependent work to be done.

The linker will also call the write_object_contents entry
point when the BFD is closed. The two entry points must work
together in order to produce the correct output file.

The details of how this works are inevitably dependent upon
the specific object file format. The a.out
_bfd_final_link routine is NAME(aout,final_link).


Information provided by the linker
Relocating the section contents
Writing the symbol table






Wyszukiwarka

Podobne podstrony:
BBC Auschwitz The Nazis and the Final Solution Episode 4
BBC Auschwitz The Nazis and the Final Solution Episode 1
BBC Auschwitz The Nazis and the Final Solution Episode 5
BBC Auschwitz The Nazis and the Final Solution Episode 3
05 the final conflict
Pink Floyd The Final Cut
Friday The 13th Part IV The Final Chapter (Piątek trzynastego 4 Ostatni rozdział)
The Final Destination 4 (2009) DVDRip XviD
90 Degree Corners, The Final Turn
The Missing Link
BBC Auschwitz The Nazis and the Final Solution Episode 2
The Final?tail
slides for the final
The Final?tail
Lost Souls The Final Concert
BBC Auschwitz The Nazis and the Final Solution Episode 6
The Final Destination 2009 TS V2 XViD DEViSE
The Final Destination Oszukać przeznaczenie 4 (2009) [BDRiP][Nap PL]

więcej podobnych podstron