#13937: @progbits is used incorrectly throughout GHC -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3712 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"9b9f978fdcd13ff7b2a9b7391e02dff06da622a0/ghc" 9b9f978f/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="9b9f978fdcd13ff7b2a9b7391e02dff06da622a0" Use correct section types syntax for architecture Previously GHC would always assume that section types began with `@` while producing assembly, which is not true. For instance, in ARM assembly syntax section types begin with `%`. This abstracts out section type pretty- printing and adjusts it to correctly account for the target architectures assembly flavor. Reviewers: austin, hvr, Phyx Reviewed By: Phyx Subscribers: Phyx, rwbarton, thomie, erikd GHC Trac Issues: #13937 Differential Revision: https://phabricator.haskell.org/D3712 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13937#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler