Example 21. Creating a Copy Table to Access a Split Object Component

SECTIONS { UNION { .task1to3: { *(.task1), *(.task2), *(.task3) } load >> LMEM1 | LMEM2 | LMEM4, table(_task13_ctbl) GROUP { .task4: { *(.task4) } .task5: { *(.task5) } .task6: { *(.task6) } .task7: { *(.task7) } } load >> LMEM1 | LMEM3 | LMEM4, table(_task47_ctbl) } run = PMEM ... .ovly: > LMEM4 }

Example 22 illustrates a possible driver for such an application.