In D71035 the LMA calculation was changed to more closely match the behaviour of GNU
tools. The code assumed that every parent section would be a PT_LOAD one, but it's possible
to create legal ELF binaries where this rule doesn't hold anymore.
Handle this case by using the same equation used by GNU objdump, the fix allows objdump
to create correctly-sized raw binaries now.
Could you outline in a comment what the "before" behaviour of this test case was. It will help with reviewing.