3 ms·
Assuming the code is position independent why can't the linker translate the ABI?
by charcircuit 1y ago
Assuming the code is position independent why can't the linker translate the ABI?
- tempodox 1y agoData sizes, alignment, the way stuff is loaded into registers, all that can change.
- tialaramex 1y agoMy favourite weird ABI choice is: Who does what for a barrier? The barrier needs one party to do work for a full fence, but which party that should be doesn't matter... There can be an x86 FENCE over on the store side, or we can put the x86 FENCE on the load. We could do both but that's pointless, so don't do that. However if we do neither we haven't built a barrier and now there's probably a horrible bug.
- dzaima 1y agoMaybe some things could be translated by a linker, but a linker can't change the size/layout of an in-memory data structure, and there's no info on what to translate from, even if info was added on what to translate to, anyway.
- KingLancelot 1y ago[dead]