Compiler Runtime Environment
5.7.4
Symbols Required by Startup Code and C Library
This section details the symbols that are required by the startup code and C library.
Currently the default linker script defines these symbols. If an application provides a
custom linker script, the user must ensure that all of the following symbols are provided
in order for the startup code and C library to function:
Symbol Name
_bmxdkpba_address
_bmxdudba_address
_bmxdupba_address
_bss_begin
_bss_end
_data_begin
_data_end
_data_image_begin
_ebase_address
_end
_gp
_heap
_ramfunc_begin
_ramfunc_end
_ramfunc_image_begin
_ramfunc_length
_stack
_vector_spacing
Description
The address to place into the BMXDKPBA register if
_ramfunc_length is greater than 0.
The address to place into the BMXDUDBA register if
_ramfunc_length is greater than 0.
The address to place into the BMXDUPBA register if
_ramfunc_length is greater than 0.
The starting location of the uninitialized data.
Uninitialized data includes both .sbss and .bss .
The end location of the uninitialized data.
Uninitialized data includes both .sbss and .bss .
The starting location of the initialized data.
Initialized data includes .data , .got , .sdata ,
.lit8 , and .lit4 .
The end location of the initialized data. Initialized
data includes .data , .got , .sdata , .lit8 , and
.lit4 .
The starting location in program memory of the
image of initialized data. Initialized data includes
.data , .got , .sdata , .lit8 , and .lit4 .
The location of EBASE .
The end of data allocation. Should be identical to
_heap .
Points to the “middle” of the small variables region.
By convention this is 0x8000 bytes from the first
location used for small variables.
The starting location of the heap in DRM.
The starting location of the RAM functions. This
should be located at a 2K boundary as it is used to
initialize the BMXDKPBA register.
The end location of the RAM functions.
The starting location in program memory of the
image of RAM functions.
The length of the .ramfunc section.
The starting location of the stack in DRM.
Remember that the stack grows from the bottom of
data memory so this symbol should point to the
bottom of the section allocated for the stack.
The initialization value for the vector spacing field in
the IntCtl register.
5.8
CONTENTS OF THE DEFAULT LINKER SCRIPT
The default linker script contains the following categories of information:
? 2007 Microchip Technology Inc.
DS51686A-page 73
相关PDF资料
SW300003-EVAL LIBRARY SOFT MODEM-EVAL ONLY
SW300010-EVAL SPEECH RECOG LIBRARY-EVAL ONLY
SW300040-EVAL LIBRARY NOISE SUPPR-EVAL ONLY
SW300060-EVAL LIBRARY ACOUSTIC ECHO-EVAL ONLY
SW300070-EVAL SOFTWARE LIBR ENC/DEC EVAL ONLY
SW500012 HI-TECH C PRO FOR PIC32
SY87701LHI-EVAL BOARD EVAL SY87701 EXPERIMENT
SY87729LHI-EVAL BOARD EVAL N SY87729 EXPERIMENT
相关代理商/技术参数
SW006021-1 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI C Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC; Software Edition:Standard
SW006021-1N 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER (F 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler (Fltng Lic)
SW006021-2 制造商:Microchip Technology 功能描述:MPLAB XC8 PRO COMPILER WORKSTATION LICENSE 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, PRO 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI PRO Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO Compiler 制造商:Microchip Technology Inc 功能描述:SOFTWARE TOOL, MPLAB XC8 PRO COMPILER; Core Architecture:PIC; Supported Families:PIC10, PIC16, PIC18; Software Edition:Linux; License Type:Floating - node; No. of User Licenses:1; Supported Hosts:-
SW006021-2C 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO CHI
SW006021-2N 功能描述:开发软件 MPLAB XC8 PRO Compiler (Fltng Lic) RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
SW006022-1 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC16, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Workstation License) 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC, dsPIC; Software Edition:Standard
SW006022-1N 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER ( 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Fltng Lic)
SW006022-2 功能描述:开发软件 MPLAB XC16 PRO Compiler RoHS:否 制造商:Microchip Technology 产品: 用于: