下載/瀏覽

Download Report

Transcript 下載/瀏覽

Automatic Link Editor Generation
for Embedded CPU Cores
Daniel C. Casarotto and Luiz C. V. dos Santos,
Circuits and Systems,
Gatineau, Que, June 2006, pp. 121-124.
Student: Chien Nan Lin
Outline



Introduction
Propose
Validation flow
2
Introduction (1/3)
This paper has presented a technique for the
automatic generation of link editors from a given
target CPU description written in the ArchC
ADL.
module
link
module
executable file
Introduction (2/3)
Introduction (3/3)


The implementation of the technique relies on
the well-known GNU binutils package.
Link editor to public domain tool chain built
around the ArchC ADL.
Outline



Introduction
Propose
Validation flow
6
Propose (1/4)
File edition
 Link edition fundamentals
 Relocation information
Propose (2/4)
Link edition fundamentals
 Linking: consists in the resolution of external
references.
 Relocation: consists in the planement of
modules into contiguous address
spaces.
8
Propose (3/4)
Relocation information

Code section (.text) : it contains the
executable code of the program.

Data section (.data) : it contains statically
initialized data.

Non-initialized data section (.bss) : each
section is associated with its relocation
information record.
Propose (4/4)
Outline



Introduction
Propose
Validation flow
11
Propose generator flow
END