This is the same like D27200 but uses a different approach. D27200 eliminates the excessive PT_LOAD, but this one has less changes.
What does look better ?
It seems a tad confusing. Could we avoid adding an empty PT_LOAD? To me, having the extra complexity in createPhdrs instead of here would make the overall operation more clear.
It seems a tad confusing. Could we avoid adding an empty PT_LOAD? To me, having the extra complexity in createPhdrs instead of here would make the overall operation more clear.