Skip to content
  • Sylvain Henry's avatar
    driver: use PROGBITS type for .debug-ghc-link-info section · f78b477b
    Sylvain Henry authored
    Previously the `.debug-ghc-link-info` section was of type `SHT_NOTE` but
    this is not compliant with the ELF specification, which requires that
    `NOTE` sections are in a particular record-based format. We mark this
    section as `PROGBITS` instead, which is defined as implying no
    particular format.
    
    Fixes #11022.
    
    Reviewers: bgamari, austin
    
    Reviewed By: bgamari, austin
    
    Subscribers: thomie, hsyl20
    
    Differential Revision: https://phabricator.haskell.org/D1375
    
    GHC Trac Issues: #11022
    f78b477b