Module Linker_script
Generate linker scripts for the dissector.
This module generates a linker script that places partition sections in the correct output sections. It optionally incorporates an existing linker script provided via --script= on the linker command line.
val generate :
existing_script:string option ->
partitions:Partition.Linked.t list ->
stringgenerate ~existing_script ~partitions generates a linker script string.
val write :
output_file:string ->
existing_script:string option ->
partitions:Partition.Linked.t list ->
unitwrite ~output_file ~existing_script ~partitions generates a linker script and writes it to the specified file.