Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

6.15.2.1. Simple Placement Options

The reset handler code is always placed at the base of the .reset partition. The general exception funnel code is always the first code in the section that contains the exception address. By default, the remaining code and data are divided into the following output sections:
  • .text—All remaining code
  • .rodata—The read-only data
  • .rwdata—Read-write data
  • .bss—Zero-initialized data

You can control the placement of .text, .rodata, .rwdata, and all other memory partitions by manipulating BSP settings.

For more information about how to control BSP settings, refer to the “HAL BSP Settings” chapter.

The Nios II BSP Editor is a very convenient way to manipulate the linker’s memory map. The BSP Editor displays memory section and region assignments graphically, allowing you to see overlapping or unused sections of memory. The BSP Editor is available either through the Nios II SBT for Eclipse, or at the command line of the Nios II SBT.

For more information, refer to the "Getting Started from the Command Line" chapter.