UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 29981

11.1 EDK - How do we know the start address of the heap and stack sections?

Description

How do we know the start address of the heap and stack sections?

Solution

- Heap and stack sections are listed in the memory MAP that XMD reports when the software application (the ELF file) is downloaded.

- Adding the compiler option " -Wl,-Map -Wl,main.map " for that particular application generates a MAP file in the project location which helps to check with the start address of the stack and the heap locations.

AR# 29981
Date Created 02/12/2008
Last Updated 12/15/2012
Status Active
Type General Article