• olsner's avatar
    Add rts/Linker support for more than 64k sections · 3021cc06
    olsner authored
    Since some ELF fields ran out of range to represent that many sections,
    they've been extended with magic numbers that indicate that the full
    value is stored in another field.
    
    This will be necessary for GHCi with -split-sections on ELF platforms
    that don't use GNU ld.
    
    Reviewers: austin, bgamari, simonmar, erikd
    
    Reviewed By: bgamari, simonmar, erikd
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1357
    
    GHC Trac Issues: #8405
    3021cc06
Linker.c 220 KB