SW006015 Microchip Technology, SW006015 Datasheet - Page 77

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
5.8
© 2007 Microchip Technology Inc.
CONTENTS OF THE DEFAULT LINKER SCRIPT
5.7.4
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:
The default linker script contains the following categories of information:
• Output Format and Entry Points
• Default Values for Minimum Stack and Heap Sizes
• Processor Definitions Include File
_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
Symbols Required by Startup Code and C Library
Symbol Name
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.
Description
DS51686A-page 73

Related parts for SW006015