The present invention provides for creating and employing code and data
partitions in a heterogeneous environment. This is achieved by separating
source code and data into at least two partitioned sections and at least
one unpartitioned section. Generally, a partitioned section is targeted
for execution on an independent memory device, such as an attached
processor unit. Then, at least two overlay sections are generated from at
least one partition section. The plurality of partition sections are
pre-bound to each other. A root module is also created, associated with
both the pre-bound plurality of partitions and the overlay sections. The
root module is employable to exchange the at least two overlay sections
between the first and second execution environments. The pre-bound
plurality of partition sections are then bound to the at least one
unpartitioned section. The binding produces an integrated executable.