cse325_S12_set_3_Program_execution

cse325_S12_set_3_Program_execution - 7/23 Program Execution...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 7/23 Program Execution in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ 85287 Dr. Yann-Hang Lee [email protected] (480) 727-7507 7/23 Building Executable Code q Compile source programs to object code files q Linker to take one or more objects and combines them into a single executable program v Unix ld, GNU linker v dynamic linker, the part of an OS that loads and links the shared libraries for an executable v symbol resolution v relocation q Binary files: elf format q Linker script – to describe how the sections in the input files should be mapped into the output file, and to control the memory layout. main.o delay.o libc.a linker executable library object 7/23 Link Command File (LCF) q Link script in CodeWarrior IDE q Sections in an object file v text, data, bss, …, ect. q Memory regions and layout v ROM, RAM, IO space q Location counter q Symbol definition main.text delay.text main.data main.bss heap IO space stack RAM vector table 7/23...
View Full Document

This note was uploaded on 04/06/2012 for the course CSE 325 taught by Professor Ye during the Spring '08 term at ASU.

Page1 / 9

cse325_S12_set_3_Program_execution - 7/23 Program Execution...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online