An empty debug link target previously returned a confusing and incorrect error like "objcopy: fread failed: No error: 0".
GNU objcopy allows an empty file as the debug link target. However, that case is nonsensical so just return an explicit error.
Differential D5541
elfcopy: fail if debug link target is empty emaste on Mar 3 2016, 11:21 PM. Authored by Tags None Referenced Files
Subscribers
Details
An empty debug link target previously returned a confusing and incorrect error like "objcopy: fread failed: No error: 0". GNU objcopy allows an empty file as the debug link target. However, that case is nonsensical so just return an explicit error.
Diff Detail
|