[GHC] #5139: Output ELF .size directives

GHC cvs-ghc at haskell.org
Tue May 3 14:37:30 CEST 2011


#5139: Output ELF .size directives
------------------------------+---------------------------------------------
  Reporter:  tibbe            |          Owner:  tibbe           
      Type:  feature request  |         Status:  closed          
  Priority:  normal           |      Milestone:  7.2.1           
 Component:  Compiler         |        Version:  7.0.3           
Resolution:  fixed            |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------

Comment(by simonmar):

 For future reference: the problem is almost certainly that the addition of
 `.type` and/or `.size` in some combination has triggered the generation of
 `R_COPY` relocations, which are bad news for the tables-next-to-code
 layout that GHC uses.  More details in
 [wiki:Commentary/PositionIndependentCode].

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



More information about the Glasgow-haskell-bugs mailing list