Combine .init sections separately from .text sections by LagoLunatic · Pull Request #304 · encounter/objdiff

The "Combine text sections" option currently has a bug where it will combine all code sections into one named ".text", even the ones that were originally named ".init". This causes issues for the __start TU, making it never show as 100% matched even when it is: https://decomp.dev/zeldaret/tp?unit=framework%2Fdolphin%2Fos%2F__start (This option is enabled by default for report generation, so this affects all projects with text sections not named ".text".)

This PR copies the data combine logic so that ".init" and ".text" get combined separately from one another.

Before:
image
After:
image