Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 17:43 Go to next message
Badri is currently offline Badri
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 12:45 Go to previous message
Sasha Slijepcevic is currently offline Sasha Slijepcevic
Messages: 86
Registered: July 2009
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: Wed Jul 30 07:13:18 EDT 2014

Powered by FUDForum. Page generated in 0.12088 seconds