• kgardas's avatar
    fix RTS Linker on platforms without SHN_XINDEX support · 9bea234d
    kgardas authored
    Summary:
    This patch fixes RTS Linker compilation issues on platforms
    where SHN_XINDEX is not defined. Tested on OpenBSD. When SHN_XINDEX
    is not defined, the code reverts to the old behavior, that means
    behavior of the Linker before D1357 which added SHN_XINDEX based
    functionality.
    
    Reviewers: bgamari, austin, erikd
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1446
    9bea234d
Linker.c 226 KB