"
"  This deck collects the linker directives for linking the OS onto specific files to be used by link_operating_system.
"  This deck should be expanded and then do an 'include_file' to create the various linker command files.
"  Create the variables that contain the files names for the linker directives for the separate links.
"
"  NOTE: There is a very tight coupling between this deck and the procedure link_operating_system due to the
"  variables created by this deck.
"

create_variable monitor_linker_commands k=string value='$local.'//$unique
create_variable system_core_linker_commands k=string value='$local.'//$unique
create_variable build_real_memory_commands k=string value='$local.'//$unique
create_variable job_template_linker_commands k=string value='$local.'//$unique

COLLECT_TEXT o=$fname(monitor_linker_commands) u='**END**' p=''
*copy raf$monitor_linker_commands
**END**

COLLECT_TEXT o=$fname(system_core_linker_commands) u='**END**' p=''
*copy raf$system_core_linker_commands
**END**

COLLECT_TEXT o=$fname(build_real_memory_commands) u='**END**' p=''
*copy raf$build_real_memory_commands
**END**

COLLECT_TEXT o=$fname(job_template_linker_commands) u='**END**' p=''
*copy raf$job_template_linker_comnds
**END**
