beautypg.com

Section names – Zilog Z80380 User Manual

Page 47

background image

UM004001-COR1103

2–13

C-Compiler Overview

Section Names

SECTION NAMES

The compiler places code and data into separate sections in the object file. Every section has
a name that is used by the linker to determine which sections to combine and how sections
are ultimately grouped in the executable file.

Code Section (.text)

Initialized Data Section (.data)

Uninitialized Data Section (.bss)

Constant Data Section (.const)

N

OTE

:

All sections are allocated in the __MEMORY address space. The default sections

.text

,

.data

, and

.bss

can be renamed using the –Ntext, –Ndata, and –Nbss command line options.

float

32 bits

double

32 bits

long double

32 bits

Type Size