cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,325 Views
Registered: ‎05-22-2009

section .heap [fffffb10 -> ffffff0f] overlaps section .boot0 [ffffff00 -> ffffffa7]

Jump to solution

Hello,

 

I develop a standalone software for PPC440 with  SDK_version 10.1. Until now, all my programs are running fine. But now, I add a simple new function:

 

unsigned int new_function(void)

{

    int i;

    // empty function

   return 0;

}

 

and than I get this error:

/cygdrive/c/Xilinx/10.1/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/bin/ld: section .heap [fffffb10 -> ffffff0f] overlaps section .boot0 [ffffff00 -> ffffffa7]
collect2: ld returned 1 exit status
make: *** [TestApp_Peripheral.elf] Error 1
Build complete for project TestApp_Peripheral

 

Can anyone say, what is my problem please?

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Explorer
Explorer
5,062 Views
Registered: ‎05-15-2009
Regenerate the linker script and decrease your heap size.

View solution in original post

0 Kudos
2 Replies
Highlighted
Explorer
Explorer
5,063 Views
Registered: ‎05-15-2009
Regenerate the linker script and decrease your heap size.

View solution in original post

0 Kudos
Highlighted
Adventurer
Adventurer
4,297 Views
Registered: ‎05-22-2009

Thank you. It is working now :)

 

Is there somewhere a tutorial / example where I can read more about the "Linker Skript Generator"?

 

0 Kudos