[GHC] #11445: Turn on SplitSections by default

GHC ghc-devs at haskell.org
Fri Dec 2 13:01:18 UTC 2016


#11445: Turn on SplitSections by default
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Build System      |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:  11285
 Related Tickets:                    |  Differential Rev(s):  Phab:D1800
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by awson):

 I looks current binutils' linker scripts doesn't handle `rodata` sections
 at all, thus I believe we should patch binutils anyway.

 Regarding section namespace separator, indeed `gcc` on Windows generates
 `$` instead of `.`, and this, perhaps, would be correct to make GHC do the
 same thing, but even unpatched Windows bintuils have separate handling of
 `.text.*` sections for example. I suspect that this is because there exist
 another tools from GNU/Unix land, ported to Windows which also use `.` for
 section hierarchy handling.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11445#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list