summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2016-10-06 16:06:32 +0200
committerMark Wielaard <[email protected]>2016-10-06 16:06:32 +0200
commit7bf4b63a4980788e6c1969cae02f0483e79c069f (patch)
tree3985f14d52aca2847b556a0c73b48341e54ee03e /lib
parent4f7b5ba9624489b5a2f714569c29ef865d4dcd6f (diff)
strip: Don't remove real symbols from allocated symbol tables.
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 means rewriting the dynamic segment and hash sections. Since we don't do that, don't remove the symbol (and corrupt the ELF file). Do warn and set the symbol section to SHN_UNDEF. https://bugzilla.redhat.com/show_bug.cgi?id=1380961 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions