4 ms·
Not quite. When producing an executable (relocatable or not), link editors may assume that there is just one such executable in the process image. This enables
by fweimer 4y ago
Not quite. When producing an executable (relocatable or not), link editors may assume that there is just one such executable in the process image. This enables optimizations, typically around global data access and TLS access. Two such executables cannot be loaded at the same time into the same process image.
- trasz 4y agoThis is hugely architecture-dependent. In CheriBSD for example - and probably also FreeBSD in general - the compiler doesn’t assume that, and that’s one of the features that make CHERI process colocation possible.