共用方式為


CeeSectionRelocType 列舉

提供值,以影響呼叫 ICeeGen::AddSectionReloc 時所發出的 reloc 指令類型。

語法

typedef enum  {  
    srRelocAbsolute,  
    srRelocHighLow          = 3,  
    srRelocHighAdj,
    srRelocMapToken,  
    srRelocRelative,  
    srRelocFilePos,  
    srRelocCodeRelative,  
    srRelocIA64Imm64,  
    srRelocDir64,  
    srRelocIA64PcRel25,  
    srRelocIA64PcRel64,    srRelocAbsoluteTagged,    srRelocSentinel,    srNoBaseReloc       = 0x4000,  
    srRelocPtr          = 0x8000,  
    srRelocAbsolutePtr      = srRelocPtr + srRelocAbsolute,  
    srRelocHighLowPtr       = srRelocPtr + srRelocHighLow,  
    srRelocRelativePtr      = srRelocPtr + srRelocRelative,  
    srRelocIA64Imm64Ptr     = srRelocPtr + srRelocIA64Imm64,  
    srRelocDir64Ptr         = srRelocPtr + srRelocDir64  
    } CeeSectionRelocType;  

成員

member 描述
srRelocAbsolute 只產生區段相對的 reloc,且不會將任何資料傳送至 .reloc 區段。
srRelocHighLow 針對指標大小的位置產生 reloc。 這會根據平台轉換成 BASED_HIGHLOW 或 BASED_DIR64。
srRelocHighAdj 針對 32 位元數字的前 16 位元產生 reloc,其中後 16 位元會包含在 .reloc 資料表的下一個字中。
srRelocMapToken 產生語彙基元對應重新配置,且不會將任何資料傳送至 .reloc 區段。
srRelocRelative 表示此值是相對位址修正程式。
srRelocFilePos 只產生區段相對的 reloc,且不會將任何資料傳送至 .reloc 區段。 此 reloc 相對於區段的檔案位置,而不是區段的虛擬位址。
srRelocCodeRelative 指定程式碼相對位址修正程式。
srRelocIA64Imm64 針對 ia64 movl 指令中的 64 位元位址產生 reloc
srRelocDir64 針對 64 位元的位址產生 reloc
srRelocIA64PcRel25 針對 ia64 br.call 指令中的 25 位元 PC 相對位址產生 reloc
srRelocIA64PcRel64 針對 ia64 brl.call 指令中的 64 位元 PC 相對位址產生 reloc
srRelocAbsoluteTagged 產生 30 位元區段相對的 reloc,用於標記的指標值。
srRelocSentinel Sentinel 值,協助確保此列舉的任何新增項目都會反映在內部 reloc 名稱陣列中。
srNoBaseReloc 指定不要發出基底 reloc
srRelocPtr 此值指出記憶體的預先修正內容是指標,而不是區段位移。

規格需求

平台:請參閱系統需求

標頭:Cor.h

程式庫:包含作為 MSCorEE.dll 中的資源

.NET Framework版本:自 1.0 起可用

另請參閱