Re: [PATCH] strip: Don't remove real symbols from allocated symbol tables.

2016-10-06 Thread Josh Stone
On 10/06/2016 07:18 AM, Mark Wielaard wrote: > Having a symbol in an allocated symbol table (like .dynsym) that > points to an unallocated section is wrong. Traditionally strip > has removed such symbols if they are section or group symbols. > But removing a real symbol from an allocate symbol tabl

[PATCH] strip: Don't remove real symbols from allocated symbol tables.

2016-10-06 Thread Mark Wielaard
Having a symbol in an allocated symbol table (like .dynsym) that points to an unallocated section is wrong. Traditionally strip has removed such symbols if they are section or group symbols. But removing a real symbol from an allocate symbol table is hard and probably a mistake. Really removing it