beautypg.com

Chapter 3 linking files, Introduction, What the linker does – Zilog Z80380 User Manual

Page 51: Igure, Inker, Functional, Relationship

background image

UM004001-COR1103

3–1

380 C-

COMPILER

U

SER

S

M

ANUAL

C

HAPTER

3

L

INKING

F

ILES

INTRODUCTION

The purpose of the Zilog cross linker is to read relocatable object files and libraries and link
them together to generate an executable load file. The file may then be loaded or written to a
target system and debugged using ZDS. This chapter briefly describes the linker’s inputs and
outputs, and how the inputs to the linker are transformed into those outputs.

F

IGURE

3-1. L

INKER

FUNCTIONAL

RELATIONSHIP

W

HAT

THE

L

INKER

D

OES

The linker performs the following fundamental actions:

Librarian

Executable

Load File

Relocatable

Object File (s)

Library File

Relocatable

Object File (s)

Linker

Debugger