Re: [PATCH 1/2] elfcompress: fix exit status in case of "Nothing to do"

2021-05-12 Thread Mark Wielaard
Hi Dmitry, On Wed, May 12, 2021 at 10:18:36PM +0300, Dmitry V. Levin wrote: > On Wed, May 12, 2021 at 03:00:00PM +, Dmitry V. Levin wrote: > > 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 > > wi

Re: [PATCH 1/2] elfcompress: fix exit status in case of "Nothing to do"

2021-05-12 Thread Dmitry V. Levin
On Wed, May 12, 2021 at 03:00:00PM +, Dmitry V. Levin wrote: > 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/s

[PATCH 1/2] elfcompress: fix exit status in case of "Nothing to do"

2021-05-12 Thread Dmitry V. Levin
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: ed62996defc6 ("elfcompress: Don't rewrite file