s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 387

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
9.4 Linkage
9.4.1 Default Linker Script
Default linker script when the -T option is not specified
S5U1C17001C MANUAL
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
When the -T option is not specified, the ld linker uses the default script shown below for linkage.
OUTPUT_FORMAT("elf32-c17", "elf32-c17", "elf32-c17")
OUTPUT_ARCH(c17)
SEARCH_DIR(.);
SECTIONS
{
}
In this script, data will be located from address 0 in order of .bss and .data sections, the vector table,
program codes and constant data will be located from address 0x8000.
Figure 9.4.1.1 shows the memory map after linkage.
/* section information */
.bss 0x0 :
.data __END_bss : AT( __END_rodata )
.text 0x8000 :
.rodata __END_text :
/* load address symbols */
__START_data_lma = LOADADDR( .data );
{
}
{
}
{
}
{
}
__START_bss = . ;
*(.bss)
__END_bss = . ;
__START_data = . ;
*(.data)
__END_data = . ;
__START_vector = . ;
*(.vector)
__END_vector = . ;
. = 0x80 ;
__START_text = . ;
*(.text)
__END_text = . ;
__START_rodata = . ;
*(.rodata)
__END_rodata = . ;
Figure 9.4.1.1 Memory map configured by default script
0x8080
0x8000
0x0
.data (initial values)
Unused
.rodata
.vector
.data
.text
EPSON
.bss
LMA
VMA=LMA
VMA=LMA
VMA=LMA
VMA
VMA=LMA
9 LINKER
9-3

Related parts for s5u1c17001c