Linker; Functions; Input/Output Files - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.2)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

7 Linker

This chapter describes the functions of the ld linker.

7.1 Functions

The ld linker is a software that generates executable object files. It provides the following functions:
Links together multiple object modules including libraries to create one executable object file.
Resolves external reference from one module to another.
Relocates relative addresses to absolute addresses.
Delivers debugging information, such as line numbers and symbol information, in the object file created after linking.
Capable of outputting link map files.
This linker is based on the gnu linker (ld). For details about the ld linker or method for describing linker script, refer to the
documents for the gnu linker. The documents can be acquired from the GNU mirror sites located in various places around the world
through Internet, etc.

7.2 Input/Output Files

Linker script
Linker symbol
file
file.x
ldsyms.ini
S5U1C17001C Manual
(Rev. 1.0)
as assembler
file
Object
file.o
files
Linker
Executable
file.elf
object file
gdb debugger
Seiko Epson Corporation
User
file.a
Library
ld
Figure 7.2.1 Flowchart
7 Linker
ANSI library
libc.a
Emulation library
libgcc.a
Library files
7-1

Advertisement

Table of Contents
loading

Table of Contents