[PATCH] export.h: reduce __ksymtab_strings string duplication by using "MS" section flags

Alan Modra amodra@gmail.com
Mon Nov 25 21:38:00 GMT 2019


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



More information about the Binutils mailing list