This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] strip: Only sanity check symbols to not discarded sections for debug file.


On Mon, 2015-10-05 at 00:12 +0200, Mark Wielaard wrote:
> We can only sanity check the symbols to discarded sections when creating a
> debug file. Otherwise we won't keep track of debug_data. This can trigger
> erroneously when there are relocation symbols in the symtab for a .debug
> section but we are not putting those symbols in a separate .debug file.
> 
> Adjust run-strip-test.sh to always run in-place strip size check even
> for ET_REL files. Before this fix the sanity check would trigger for
> some ET_REL files because they contained such relocation symbols to
> .debug sections (but debug_data would be NULL because -f wasn't used).

I pushed this to master.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]