I found at least 2 possible situations when we may crash on large outputs:
Imagine we have large section sizes. It is simulated in a testcase by providing alignment of 0xFFFFFFFF for 32 bit target.
Then overflow may happen during assigning offsets.
I wonder how many cases there can be where overflow and if there is a general solution.
How was this crashing before?