[PATCH] elf: Get the real kept section
Hans-Peter Nilsson
hp@axis.com
Wed Dec 2 23:54:02 GMT 2020
> From: Jan Kratochvil via Binutils <binutils@sourceware.org>
> Date: Thu, 3 Dec 2020 00:41:40 +0100
> On Wed, 02 Dec 2020 21:58:56 +0100, Hans-Peter Nilsson wrote:
> > I'll give you that the dwarf.c code is also a bit flawed in
> > omitting the "CU:" if "strlen (directory) < 76" and also not
> > counting the length of the basename of the file, just the length
> > of the directory path. Better would have been to sprintf to a
> > temporary buffer, truncate the path, emitting "...".
> > CC: binutils@sourceware.org, jan.kratochvil@redhat.com
>
> Not sure why I was Cced. This is not my code. It came from:
> https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=a262ae964e725a02c056e832927c3bd16a689e07
> 2008 Nick Clifton
I'm terribly sorry, you're completely right: I forgot to do the
steps adjusting "git blame" for code just moved around.
brgds, H-P
More information about the Binutils
mailing list