3.5.14 Why Are Some Objects Positioned Into Memory That I Reserved?

Most variables and function are placed into sections that are defined in the linker script. See the “MPLAB® XC32 Assembler, Linker and Utilities User’s Guide” (DS50002186) for details on linker scripts. However, some variables and function are explicitly placed at an address rather than being linked anywhere in an address range, as described in 3.3.3.1 How Do I Position Variables at an Address I Nominate? and 3.3.3.2 How Do I Position Functions at an Address I Nominate?.

Check the assembly list file to determine the names of sections that hold objects and code. Check the linker options in the map file to see if sections have been linked explicitly or if they are linked anywhere in a class. See the “MPLAB® XC32 Assembler, Linker and Utilities User’s Guide” (DS50002186) for information on each of these files.