This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] export.h: reduce __ksymtab_strings string duplication by using "MS" section flags
- From: Alan Modra <amodra at gmail dot com>
- To: Gunther Nikl <gnikl at justmail dot de>
- Cc: Rasmus Villemoes <linux at rasmusvillemoes dot dk>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 26 Nov 2019 08:08:31 +1030
- Subject: Re: [PATCH] export.h: reduce __ksymtab_strings string duplication by using "MS" section flags
- References: <20191120145110.8397-1-jeyu@kernel.org> <93d3936d-0bc4-9639-7544-42a324f01ac1@rasmusvillemoes.dk> <20191121160919.GB22213@linux-8ccs> <CAK7LNAT=+VMTpK3nBy3J-M9idf8MBi4dB4WKexYatiV2pNHvMg@mail.gmail.com> <b280c412-432b-ff54-acbd-a6bcc74b6e72@rasmusvillemoes.dk> <20191125200740.00006d0e@justmail.de>
On Mon, Nov 25, 2019 at 08:07:40PM +0100, Gunther Nikl wrote:
> I don't know if you realized that the git repository does contain older
> history. AFAICT that history is only available through file history.
> Blame of a current source can only point to the sourceware import
> commit as the "oldest" version because the repository was recreated by
> this commit. An earlier commit emptied the repository. I suppose this
> is an artifact of the way the git (svn?) repository was constructed.
Yeah, the old cygnus repository wasn't stitched in perfectly. You can
access the older repo history by looking at git log, and choosing a
point before all the import nonsense. For example, suppose you were
interested in this line in gas/as.h
^252b5132c7 (Richard Henderson 1999-05-03 07:29:11 +0000 77) #define OPTION_STD_BASE 150
Then run "git log", search for commit 252b5132c7, skip over the
"generated by cvs2svn", "import" and "initial creation" entries to
find commit 1730ec6b1848f0f32154277f788fb29f88d8475b
Now, "git blame 1730ec6b1848f gas/as.h" shows you
f3d817d8b7d (David MacKenzie 1994-06-03 17:42:27 +0000 106) #define OPTION_STD_BASE 150
--
Alan Modra
Australia Development Lab, IBM