diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-25 16:07:33 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-28 19:17:47 -0500 |
commit | 065419affb4346bb81e91f8260e531a6e2342fa5 (patch) | |
tree | 80b68c0e80784377704291dc550edfe774e9b385 /compiler/GHC/Unit/Module/ModGuts.hs | |
parent | 4f0208e53444d32c7f3795b3ac15acbfc75bf58c (diff) | |
download | haskell-065419affb4346bb81e91f8260e531a6e2342fa5.tar.gz |
linking: Don't pass --hash-size and --reduce-memory-overhead to ld
These flags were added to help with the high linking cost of the old
split-objs mode. Now we are using split-sections these flags appear to
make no difference to memory usage or time taken to link.
I tested various configurations linking together the ghc library with
-split-sections enabled.
| linker | time (s) |
| ------ | ------ |
| gold | 0.95 |
| ld | 1.6 |
| ld (hash-size = 31, reduce-memory-overheads) | 1.6 |
| ldd | 0.47 |
Fixes #20967
Diffstat (limited to 'compiler/GHC/Unit/Module/ModGuts.hs')
0 files changed, 0 insertions, 0 deletions