When elfcompress decides that no section data needs to be updated and
therefore the file does not have to be rewritten, it still has to exit
with a zero status indicating success.
Resolves: https://sourceware.org/bugzilla/show_bug.cgi?id=27856
Fixes:
c497478390de ("elfcompress: Replace cleanup() with label")
+2021-05-12 Dmitry V. Levin <ldv@altlinux.org>
+
+ * elfcompress.c (process_file): Set res to 0 in case of "Nothing to do".
+
2021-04-19 Martin Liska <mliska@suse.cz>
* elfclassify.c (run_classify): Use startswith.
if (verbose > 0)
printf ("Nothing to do.\n");
fnew = NULL;
+ res = 0;
goto cleanup;
}