The RTS loader/linker relies too heavily on file extensions.
The RTS linker & loader relies way too heavily on file extensions instead of the structure of the file. This means that if we have stuff like object files in archives that don't end with .o
and .p_o
we won't load them.
Or import libraries etc. This should be changed to use the structure of the file header to determine what the file is.
This means that GCC and binutils handle a lot more files than we currently do.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System (Linker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |