Re: [PATCH] readelf: print warning for -sW

2022-11-25 Thread Mark Wielaard
Hi Marin, On Fri, 2022-11-25 at 14:29 +0100, Martin Liška wrote: > The option -s accepts in elfutils (compared to binutils) a positional > argument that is name of a symbol table section which should be > printed. > > Thus, print a reasonable warning if -sW is used: > ./src/readelf -sW a.out > WA

[PATCH] readelf: print warning for -sW

2022-11-25 Thread Martin Liška
The option -s accepts in elfutils (compared to binutils) a positional argument that is name of a symbol table section which should be printed. Thus, print a reasonable warning if -sW is used: ./src/readelf -sW a.out WARNING: cannot find section: 'W' Ready for master? Thanks, Martin src/ChangeLog