Changes between Version 3 and Version 4 of Commentary/PositionIndependentCode


Ignore:
Timestamp:
Apr 6, 2013 3:56:53 PM (13 months ago)
Author:
heisenbug
Comment:

add escape

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/PositionIndependentCode

    v3 v4  
    4242We extend Cmm and the `CLabel` module by a few things to allow us to express all the different things that occur on different platforms: 
    4343 
    44 The `Cmm.GlobalReg` datatype has a constructor `PicBaseReg`. This PIC base register is the register relative to which position-independent references are calculated. This can be a general-purpose register that is allocated on a per-CmmProc basis, or it can be a dedicated register, like the instruction pointer `%rip` on x86_64. 
     44The `Cmm.GlobalReg` datatype has a constructor `PicBaseReg`. This PIC base register is the register relative to which position-independent references are calculated. This can be a general-purpose register that is allocated on a per-!CmmProc basis, or it can be a dedicated register, like the instruction pointer `%rip` on x86_64. 
    4545 
    4646== How things are done on different platforms ==