Microchip Technology SW006023-1N Data Sheet

Page of 238
MPLAB
®
 XC32 C/C++ Compiler User’s Guide
DS51686E-page 182
 2012 Microchip Technology Inc.
17.4.4.2
 .BEV_EXCPT SECTION
This section contains the handler for exceptions that occur when Status
BEV
 = 1
. This 
section is located at the BEV exception address (_BEV_EXCPT_ADDR) as specified in 
the processor definitions linker script and is assigned to the boot memory region 
(kseg1_boot_mem).
.bev_excpt _BEV_EXCPT_ADDR :
{
  (*(.bev_handler))
} > kseg1_boot_mem
17.4.4.3
.DBG_EXCPT SECTION
This section reserves space for the debug exception vector. This section is only 
allocated if the symbol _DEBUGGER has been defined. (This symbol is defined if the 
-mdebugger
 command line option is specified to the shell.) This section is located at 
the debug exception address (_DBG_EXCPT_ADDR) as specified in the processor 
definitions linker script and is assigned to the boot memory region 
(kseg1_boot_mem). The section is marked as NOLOAD as it is only intended to ensure 
that application code cannot be placed at locations reserved for the debug executive.
.dbg_excpt _DBG_EXCPT_ADDR (NOLOAD) :
{
  . += (DEFINED (_DEBUGGER) ? 0x8 : 0x0);
} > kseg1_boot_mem
17.4.4.4
.DBG_CODE SECTION
This section reserves space for the debug exception handler. This section is only 
allocated if the symbol _DEBUGGER has been defined. (This symbol is defined if the 
-mdebugger
 command line option is specified to the shell.) This section is located at 
the debug code address (_DBG_CODE_ADDR) as specified in the processor definitions 
linker script and is assigned to the debug executive memory region 
(debug_exec_mem). The section is marked as NOLOAD because it is only intended to 
ensure that application code cannot be placed at locations reserved for the debug 
executive.
.dbg_code _DBG_CODE_ADDR (NOLOAD) :
{
  . += (DEFINED (_DEBUGGER) ? 0xFF0 : 0x0);
} > debug_exec_mem
17.4.4.5
.APP_EXCPT SECTION
This section contains the handler for exceptions that occur when Status
BEV
 = 0
. This 
section is located at the general exception address (_GEN_EXCPT_ADDR) as specified 
in the processor definitions linker script and is assigned to the exception memory 
region (exception_mem).
.app_excpt _GEN_EXCPT_ADDR :
{
  KEEP(*(.gen_handler))
} > exception_mem