diff options
-rwxr-xr-x | scripts/find-debuginfo.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index c16299600..d837a6b4b 100755 --- a/scripts/find-debuginfo.sh +++ b/scripts/find-debuginfo.sh @@ -388,6 +388,10 @@ do_file() fi fi + # Compress any annobin notes in the original binary. + # Ignore any errors, since older objcopy don't support --merge-notes. + objcopy --merge-notes "$f" 2>/dev/null || true + # A binary already copied into /usr/lib/debug doesn't get stripped, # just has its file names collected and adjusted. case "$dn" in |