Skip to content
  • Ben Gamari's avatar
    e69b0d42
    Refactor handling of object merging · e69b0d42
    Ben Gamari authored
    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.
    e69b0d42
    Refactor handling of object merging
    Ben Gamari authored
    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.
Loading