"
"  Directives for binding osf$job_template_223 library.  The unbound library
"  is on file 'unbound_library', file 'scratch_library' is used for an
"  intermediate result and 'bound_library' is where the bound library
"  is written.  These varibles must be defined in the procedure that
"  invokes these linker commands.
"
"  These directives are invoked by the 'bind_os_library' procedure.
"
"  It is important that AVM$CALCULATE_SRUS remains as the last module on the
"  bound library (for dump analysis reasons).

    add_module l=$fname(unbound_library)
" The following reorder module is to align the path table on a page
" boundary.  This reduces the amount of paging for other variables
" and improves response time on a memory bound system.
    reorder_module m=fmm$path_table_manager, p=before
    delete_module m=avm$calculate_srus
    delete_module m=pfm$compute_checksum
    generate_library l=$fname(scratch_library)

    create_module n=bound_job_template_223 c=$fname(scratch_library) include_binary_section_maps=TRUE
    add_module l=$fname(unbound_library) m=(pfm$compute_checksum avm$calculate_srus)
    change_module_attributes m=bound_job_template_223 retain=all

"  Put a status variable on the following generate_library l=so that any
"  warning-level linker errors will be able to pass back to bind_os_library the fact
"  that there were internal errors on this library.
    generate_library l=$fname(bound_library) status=bind_status
