Figure 2
The linker combines like segments from many object files. The segment order is determined from the first object file.