Nios II Classic Software Developer’s Handbook

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

15.5.2.18. get_current_section_mappings

Usage

get_current_section_mappings

Options

None

Description

Returns a list of lists for all the current section mappings. Each list represents a section mapping with the format {section_name memory_region}. The order of the section mappings matches their order in the linker script.

Example

puts [get_current_section_mappings] Returns: {.text onchip_ram0} {.rodata onchip_ram0} {.rwdata onchip_ram0} {.bss onchip_ram0} {.heap onchip_ram0} {.stack onchip_ram0}