Skip to content
Snippets Groups Projects
Commit e69b0d42 authored by Ben Gamari's avatar Ben Gamari
Browse files

Refactor handling of object merging

Previously to merge a set of object files we would invoke the linker as
usual, adding -r to the command-line. However, this can result in
non-sensical command-lines which causes lld to balk (#17962).

To avoid this we introduce a new tool setting into GHC, -pgmlm, which is
the linker which we use to merge object files.
parent 428320a9
No related branches found
No related tags found
No related merge requests found
Showing
with 249 additions and 48 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment