Closed muggenhor closed 11 months ago
Please let me know if there's any other changes needed before merging this. Or you'd like some of these changes split off from this PR. (I've purposefully kept these changes in a bunch of separate commits).
Thanks a lot for both your patience and the great code base improvement!
This is a set of fixes and minor refactors of issues that I encountered while trying to get this library to produce zero load-time relocations when compiling a container storing strings with
-fPIC
.I thought it better to extract these to this separate PR, as they're useful regardless, before creating a massive PR for that.
FYI: I'm not fully happy yet with my changes for zero-reloc string containers so won't be creating an immediate follow-up PR for that just yet. But if you want to have a look at that, I'm keeping those changes in my feat/zero-reloc-string-containers branch.