Skip to main content



      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 17:43 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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 23 07:27:42 EDT 2025

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

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

Back to the top