forked from mirror/mingw-w64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crt: Use a constructor to process the pseudo relocations
This avoids linking in the whole pseudo relocation subsystem if the module doesn't contain any pseudo relocations. (GNU ld adds a relocation to pull in _pei386_runtime_relocator if the binary contains pseudo relocations, but unfortunately it doesn't work properly, so if the _pei386_runtime_relocator symbol isn't already pulled in by some other object file, it will fail.)
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters