#2725: Remove Hack in compiler/nativeGen/MachCodeGen.hs
------------------------------+---------------------------------------------
 Reporter:  clemens           |          Owner:  clemens         
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:  6.12 branch     
Component:  Compiler (NCG)    |        Version:  6.11            
 Severity:  minor             |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.12 branch

Old description:

> Remove the hack around Line 3914 labeled with:
>
>     -- HACK: On x86_64 binutils<2.17 is only able to generate PC32
>     -- relocations, hence we only get 32-bit offsets in the jump
>     -- table. As these offsets are always negative we need to properly
>     -- sign extend them to 64-bit. This hack should be removed in
>     -- conjunction with the hack in PprMach.hs/pprDataItem once
>     -- binutils 2.17 is standard.
>
> This bug is intended for house keeping.

New description:

 Remove the hack around Line 3914 labeled with:
 {{{
     -- HACK: On x86_64 binutils<2.17 is only able to generate PC32
     -- relocations, hence we only get 32-bit offsets in the jump
     -- table. As these offsets are always negative we need to properly
     -- sign extend them to 64-bit. This hack should be removed in
     -- conjunction with the hack in PprMach.hs/pprDataItem once
     -- binutils 2.17 is standard.
 }}}
 This bug is intended for house keeping.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2725#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to