S5U1C17001C ManUal
EPSOn
5-153
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
5 gnU17 iDE
5
IDE
C:/EPSON/gnu17/lib/24bit/libstdio.a(.text)
C:/EPSON/gnu17/lib/24bit/libc.a(.text)
C:/EPSON/gnu17/lib/24bit/libgcc.a(.text)
C:/EPSON/gnu17/lib/24bit/libc.a(.text)
}
__END_text = . ;
.rodata __END_text :
{
__START_rodata = . ;
func1.o(.rodata)
func2.o(.rodata)
main.o(.rodata)
C:/EPSON/gnu17/lib/24bit/libstdio.a(.rodata)
C:/EPSON/gnu17/lib/24bit/libc.a(.rodata)
C:/EPSON/gnu17/lib/24bit/libgcc.a(.rodata)
C:/EPSON/gnu17/lib/24bit/libc.a(.rodata)
}
__END_rodata = . ;
/* load address symbols */
__START_data_lma = LOADADDR( .data );
__END_data_lma = __START_da SIZEOF( .data );
__START_textu1_lma = LOADADDR( .textu1 );
__END_textu1_lma = __START_text SIZEOF( .textu1 );
__START_textu2_lma = LOADADDR( .textu2 );
__END_textu2_lma = __START_text SIZEOF( .textu2 );
}
Shown below are the section locations and file configurations.
boot.o – .text
main.o – .text
boot.o – .rodata
main.o – .rodata
func1.o – .rodata
func2.o – .rodata
boot.o – .data
main.o – .data
func1.o – .data
func2.o – .data
(
__START_textu2_lma
)
(
__START_textu1_lma
)
(__
START_data_lma
)
(
__START_rodata
)
(
__START_text
)
0x008000
0x000000
LMA
.textu2
section
.textu1
section
.data
section
.rodata
section
.text
section
.vector
section
No sections/files
located here
func1.o – .text
func2.o – .text
boot.o – .bss
main.o – .bss
boot.o – .data
func1.o – .data
func2.o – .data
main.o – .datamain.o –
.datamain.o – .data
(
__START_textu1
)
(
__START_data
)
0x000000
VMA
.data
section
.bss
section
.textu1
section
.textu2
section
func1.o – .bss
func2.o – .bss
func1.o – .text
func2.o – .text
library – .text
library – .bss
library – .rodata
Figure 5.7.6.9 Example of s section location 4
The routine for transferring the program from ROM to RAM should be created within
main.c
.
note
: Locating the
.textu1
and
.textu2
sections preceding a
.rodata
section with (for example)
no LMA specified will result in positioning the
.rodata
section behind the end VMA address of
the
.textu2
section. Do not locate any VMA-only sections behind LMA
≠
VMA sections.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...