6.1.1 Section name

The following table lists the names, relocation attribute of these reserved sections.

Table 6.1

Reserved Sections

Default Section Name

Relocation Attribute

Description

.callt0

CALLT0

Section for the table to call the callt function

.text

TEXT

Section for code (allocated to the near area)

.textf

TEXTF

Section for code (allocated to the far area)

.textf_unit64kp

TEXTF_UNIT64KP

Section for code (section is allocated so that the start address is an even address and the section does not exceed the (64 Kbytes - 1) boundary)

.const

CONST

ROM data (allocated to the near area) (within the mirror area)

.constf

CONSTF

ROM data (allocated to the far area)

.data

DATA

Section for near initialized data (with initial value)

.dataf

DATAF

Section for far initialized data (with initial value)

.sdata

SDATA

Section for initialized data (with initial value, variable allocated to saddr)

.bss

BSS

Section for data area (without initial value, allocated to the near area)

.bssf

BSSF

Section for data area (without initial value, allocated to the far area)

.sbss

SBSS

Section for data area (without initial value, variable allocated to saddr)

.option_byte

OPT_BYTE

Section specific for user option byte and on-chip debugging specificatio

.security_id

SECUR_ID

Section specific for security ID specification

.vectNote

AT

Interrupt vector table

 

The default section name can be changed using #pragma section.

Note

Cannot be changed by #pragma section.