Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: elf: fix copy-elf when gcc links program
GCC will set the text size to `0` in a certain case that `rust-lld` did not. This causes the elf copier to add about 512 MB to the image which it otherwise shouldn't be doing. Add a workaround that appears to fix the issue. Signed-off-by: Sean Cross <sean@xobs.io>
- Loading branch information