cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
5,412 Views
Registered: ‎05-28-2014

section to memory region mapping

 

Hello,

 

I have some issue when assigning section to memory  region mapping in lsscript.ld

 

The elf mapping is as following:

text data bss dec hex filename
98616 8188 5188 111992 1b578 CZ5C2010A_uBlaze_POD.elf

While the memory available is

 bram0 64k

bram1 64k

because text is ~84k , I can't handle the assigning of section to memory without getting linker error os size.

 

Please advise,

Ran

0 Kudos
3 Replies
Highlighted
Scholar
Scholar
5,394 Views
Registered: ‎09-05-2011

You can probably try assigning the text sections to different regions of memory by editing the linker script. Check the AR below:

http://www.xilinx.com/support/answers/21639.html
Highlighted
Explorer
Explorer
5,373 Views
Registered: ‎05-28-2014

 Hi,

 

Thanks for the link, But I don't see any .text file in my source directory.

I suppose I should divide that .text file into 3 seperate files, but where is it ? 

Regards,


Ran

0 Kudos
Highlighted
Scholar
Scholar
5,361 Views
Registered: ‎09-05-2011

How many relocatable object files (*.o) do you have in the Debug/Src folder of your application?

Each of the object file has a .text section. If you have multiple object files (*.o) you can split the text section and place them in different memories (if you have any) as per the AR.
0 Kudos