HomeFreeBSD

MFC r310634: elfcopy: fix PE object section name corruption and crash

Description

MFC r310634: elfcopy: fix PE object section name corruption and crash

Fixed a bug that the PE object section names are generated incorrectly
using the section name table found in the original input ELF object
instead of the intermediate ELF object.

Ticket: #541

Do not try to copy section content from a NULL d_buf when creating
uninitialized data COFF section for PE object.

Ticket: #540

Obtained from: ELF Tool Chain r3507, r3508

Details

Provenance
emasteAuthored on
Parents
rS311154: Restore r302384 that was dropped when r303816 updated the driver to 1.6.6.-k
Branches
Unknown
Tags
Unknown