
"  Directives for binding osf$job_template_23d 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 variables 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 the unbound modules within the bound library remain in
"  the order that they are currently in and remain as the last modules on the
"  bound library (for dump analysis reasons).

    add_module l=$fname(unbound_library)
    delete_module m=rmm$enforce_tape_security
    delete_module m=rmm$validate_tape_operations
    delete_module m=avm$encrypt_password
    delete_module m=avm$process_password_attributes
    delete_module m=avm$verify_validation_name
    generate_library l=$fname(scratch_library)

    create_module n=bound_job_template_23d c=$fname(scratch_library) include_binary_section_maps=TRUE
    add_module l=$fname(unbound_library) m=(rmm$enforce_tape_security rmm$validate_tape_operations ..
          avm$encrypt_password avm$process_password_attributes avm$verify_validation_name)
    change_module_attributes m=bound_job_template_23d retain=all

"  Put a status variable on the following generate_library command 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
