36 ms·
I think we should start putting details of the ABI in ELF (not the compiler flags as a string). Wait.. Who owns the ELF spec?? Then the linker and loader could
by ndesaulniers 2y ago
I think we should start putting details of the ABI in ELF (not the compiler flags as a string). Wait.. Who owns the ELF spec??
Then the linker and loader could error if two incompatible objects with different ABIs were attempted to be linked together.
For instance, I suspect you could have fields to denote the size of certain types. I guess DWARF has that... But DWARF is optional and sucks to parse.
- SubjectToChange 2y agoI think we should start putting details of the ABI in ELF That basically implies name mangling in some form or another, i.e. good luck trying to convince C programmers of such a thing.
- ndesaulniers 2y agoI didn't find name managing to be the problem here. C symbols are mangled in mach-o.