Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Real-Time Software Components (RTSC) » Directing a section to multiple segments(Linker Placement)
Directing a section to multiple segments [message #538535] Mon, 07 June 2010 21:43 Go to next message
Badri is currently offline BadriFriend
Messages: 17
Registered: July 2009
Junior Member
Champs,
Using linker command file I can direct a section to any one of multiple segments using the syntax:

.text > CODE_SECT0 | CODE_SECT1 | CODE_SECT2

This command indicates to the linker to place .text in CODE_SECT0 and if that becomes full to place remaining .text in CODE_SEC1 and so based on linker's best fit algorithm.

I want to be able to do the same using my config file sectMap.
Currently I am using the following:
Program.sectMap[".bss:extMemNonCache"] = "HDVPSS_DESCRIPTOR_NON_CACHED";

. I want to do something like
Program.sectMap[".bss:extMemNonCache"] =
"HDVPSS_DESCRIPTOR_NON_CACHED0" |
"HDVPSS_DESCRIPTOR_NON_CACHED1"

Can you please point me to the right syntax/method to achieve this
Regards
Badri
Re: Directing a section to multiple segments [message #538802 is a reply to message #538535] Tue, 08 June 2010 16:45 Go to previous message
Sasha Slijepcevic is currently offline Sasha SlijepcevicFriend
Messages: 115
Registered: July 2009
Senior Member
Badri,
the syntax is
Program.sectMap[".bss:extMemNonCache"] =
"HDVPSS_DESCRIPTOR_NON_CACHED0 | HDVPSS_DESCRIPTOR_NON_CACHED1";
Previous Topic:Iterate over all heap instances?
Next Topic:Configuration of function pointer fails
Goto Forum:
  


Current Time: Sun Oct 13 16:50:07 GMT 2024

Powered by FUDForum. Page generated in 0.03653 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top