US 12,333,276 B2
Method, system, and circuit for generating toolchains agnostic linker scripts
Tarek Bochkati, Ariana (TN)
Assigned to STMicroelectronics France, Montrouge (FR)
Filed by STMicroelectronics France, Montrouge (FR)
Filed on Jun. 14, 2024, as Appl. No. 18/744,311.
Application 18/744,311 is a continuation of application No. 17/961,927, filed on Oct. 7, 2022, granted, now 12,039,293.
Prior Publication US 2024/0385808 A1, Nov. 21, 2024
Int. Cl. G06F 8/30 (2018.01)
CPC G06F 8/30 (2013.01) 20 Claims
OG exemplary drawing
 
1. A computing device, comprising:
a memory, which, in operation, stores computer instructions; and
at least one processor, which, in operation, executes the computer instructions to:
determine memory resources available to a programmable computing device;
define one or more first regions in the memory resources used by a first application;
define one or more first sections in the one or more first regions for use by the first application;
define one or more second regions in the memory resources used by a second application;
define one or more second sections in the one or more first regions for use by the second application;
generate resource boundaries for the first application and the second application based on the one or more first sections and the one or more second sections;
modify the resource boundaries to resolve conflicts between the one or more first sections and the one or more second sections;
generate a linker model based on the memory resources, and the modified resource boundaries; and
generate a linker script for the programmable computing device based on the linker model and a linker syntax compatible with a toolchain linker for the programmable computing device.