05.08.2013 Views

CodeWarrior Smart Linker Manual

CodeWarrior Smart Linker Manual

CodeWarrior Smart Linker Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

Linking an Assembly Application . . . . . . . . . . . . . . . . . . . 160<br />

Prm File . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160<br />

WARNINGS . . . . . . . . . . . . . . . . . . . . . . . . . . 161<br />

<strong>Smart</strong> Linking . . . . . . . . . . . . . . . . . . . . . . . . . . 161<br />

LINK_INFO(ELF) . . . . . . . . . . . . . . . . . . . . . . . . 164<br />

7 The Parameter File 165<br />

The Syntax of the Parameter File . . . . . . . . . . . . . . . . . . . . 165<br />

Mandatory <strong>Smart</strong><strong>Linker</strong> Commands. . . . . . . . . . . . . . . . . . . 168<br />

The INCLUDE directive . . . . . . . . . . . . . . . . . . . . . . . 169<br />

8 <strong>Smart</strong><strong>Linker</strong> Commands 171<br />

AUTO_LOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . 171<br />

AUTO_LOAD: Load Imported Modules (HIWARE, M2) . . . . . . . . . 171<br />

CHECKSUM . . . . . . . . . . . . . . . . . . . . . . . . . . . 172<br />

CHECKSUM: Checksum computation (ELF). . . . . . . . . . . . . . 172<br />

CHECKKEYS . . . . . . . . . . . . . . . . . . . . . . . . . . . 176<br />

CHECKKEYS: Check Module Keys (HIWARE, M2) . . . . . . . . . . 176<br />

DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176<br />

DATA: Specify the RAM Start (HIWARE) . . . . . . . . . . . . . . . 176<br />

DEPENDENCY . . . . . . . . . . . . . . . . . . . . . . . . . . 177<br />

DEPENDENCY: Dependency Control . . . . . . . . . . . . . . . . 177<br />

ROOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />

USES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />

ADDUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179<br />

DELUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180<br />

Overlapping of local variables and parameters . . . . . . . . . . . . . 181<br />

ENTRIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182<br />

ENTRIES: List of Objects to Link with the Application. . . . . . . . . . 182<br />

HAS_BANKED_DATA . . . . . . . . . . . . . . . . . . . . . . . 184<br />

HAS_BANKED_DATA: Application has banked data (HIWARE) . . . . . 184<br />

HEXFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185<br />

HEXFILE: Link a Hex File with the Application . . . . . . . . . . . . 185<br />

10 <strong>Smart</strong> <strong>Linker</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!