Hi folks. I've been pretty busy and so haven't had a chance to look into
this at all, but I was wondering if there was a good way to turn symbols
which are only useful in a particular context (constructors for instruction
objects maybe?) into local symbols which won't be considered by the linker
as part of the global link, assuming some local partial link step happened.
It seems like this would have the potential to speed up the final link a
lot since I imagine there are *lots* of symbols that come from instruction
objects that are never referred to outside of, say, the decode
function/object, or minimally the ISA.

Has anybody tried anything like that? Does that seem like something worth
pursuing? Besides fancy linker tricks, it might be possible to hide those
symbols using normal C++ mechanisms. I don't know exactly how that would be
done, but there are a lot of gadgets built into C++ these days.

Anyway, I thought I should toss that out into the ether before I forgot
about it in case some adventurous soul wanted to look into it.

Gabe
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to