3 ms·
The article doesn’t address what happens if you pick the wrong (too small) model. I guess the static linker will catch certain cases, and the dynamic linker/loa
by layer8 4y ago
The article doesn’t address what happens if you pick the wrong (too small) model. I guess the static linker will catch certain cases, and the dynamic linker/loader will catch certain other cases, but will all cases be caught by one of those two, or can the compiled instructions end up being executed, leading to incorrect memory accesses?
- duskwuff 4y ago> The article doesn’t address what happens if you pick the wrong (too small) model. The (static) linker will realize that an address won't fit, or that it can't generate a required relocation, and will fail to generate an executable.