[GHC] #7718: ios patch no 8: adjustor pools

GHC cvs-ghc at haskell.org
Sun Apr 21 16:57:18 CEST 2013


#7718: ios patch no 8: adjustor pools
--------------------------------+-------------------------------------------
  Reporter:  StephenBlackheath  |          Owner:         
      Type:  feature request    |         Status:  patch  
  Priority:  normal             |      Milestone:  7.8.1  
 Component:  Compiler           |        Version:  7.7    
Resolution:                     |       Keywords:         
        Os:  Other              |   Architecture:  arm    
   Failure:  None/Unknown       |     Difficulty:  Unknown
  Testcase:                     |      Blockedby:         
  Blocking:  7724               |        Related:         
--------------------------------+-------------------------------------------

Comment(by igloo):

 I'm a little confused still. This change looks good:
 {{{
 -    r = ffi_prep_closure(cl, cif, (void*)wptr, hptr/*userdata*/);
 +    r = ffi_prep_closure_loc(cl, cif, (void*)wptr, hptr/*userdata*/,
 code);
 }}}
 (the libffi info page says
 {{{
 You may see old code referring to `ffi_prep_closure'.  This function
 is deprecated, as it cannot handle the need for separate writable and
 executable addresses.
 }}}
 )
 but why does the iOS code need to be different to the Linux code?

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



More information about the ghc-tickets mailing list