[GHC] #12913: Port SplitSections to Windows
GHC
ghc-devs at haskell.org
Wed Mar 22 20:24:32 UTC 2017
#12913: Port SplitSections to Windows
-------------------------------------+-------------------------------------
Reporter: olsner | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
(Linking) |
Resolution: | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #8405 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by awson):
Nope, they were only partially checked in. If you follow the commit link
in the last post of the
[https://sourceware.org/bugzilla/show_bug.cgi?id=19254 discussion] you
will understand that only 32-bit bugfix (no new features at all) was
landed. The essential part was abandoned because of Simon Brenner's idea
that we should fix things on the GHC side making section name generation
scheme more "windowsish" which `binutils` already has support for.
And yes, I meant string merging when writing about string literals
handling. At least my patch solves **sections** merging problem here. To
make proper string merging we should, I believe, go entirely different
way. AFAIR Walter Bright had met exactly the same problem when developing
his `D` compiler and he used `COMDAT` to solve it. He blogged about this a
couple of months ago.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12913#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list