• Alan Modra's avatar
    ELF unexec: Merge Alpha and MIPS COFF debug handling · 47c6e303
    Alan Modra authored
    * unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
    Don't find .mdebug section index, find the section in the loop.
    Allow for unlikely possibility that .mdebug is located at sh_offset
    before bss segment, by calculating move from difference in
    sh_offset rather than just assuming new_data2_size.  Simplify
    cbLineOffset handling.
    47c6e303
unexelf.c 42.9 KB