[PATCH] dwz.c: special-case SHT_NOBITS sections

2018-02-06 Thread Alexey Tourbin
When eu-strip is used to create separate .debug files, and is invoked with the --strip-debug option instead of --strip-all, the .symtab section is kept in a.out, but eu-strip also creates an empty .symtab section in a.out.debug with type NOBITS, but with the original size. Section Headers: [Nr

Re: [PATCH] dwz.c: special-case SHT_NOBITS sections

2018-02-06 Thread Mark Wielaard
Hi Alexy, I CCed jakub, who maintains dwz.c, in case he isn't on this list. On Tue, 2018-02-06 at 14:50 +0300, Alexey Tourbin wrote: > When eu-strip is used to create separate .debug files, and is invoked > with the --strip-debug option instead of --strip-all, the .symtab > section is kept in a.o