On 4/30/20 9:51 AM, Rich Felker wrote: > This sounds correct. My understanding of FLAT shared library support > is that it's really bad and based on having preassigned slot indices > for each library on the system, and a global array per-process to give > to data base address for each library. Libraries are compiled to know > their own slot numbers so that they just load from fixed_reg[slot_id] > to get what's effectively their GOT pointer. > > I'm not sure if anybody has actually used this in over a decade. Last > time I looked the tooling appeared broken, but in this domain lots of > users have forked private tooling that's not publicly available or at > least not publicly indexed, so it's hard to say for sure. Lots of people in this area are also still using 10 year old tools because it breaks every time they upgrade. Heck, nommu support for architectures musl doesn't support yet is _explicitly_ the main thing keeping uClibc alive: https://www.openwall.com/lists/musl/2015/05/30/1 Rob