# Changeset View

Changeset View

# Standalone View

Standalone View

# ELF/Target.h

Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 25 | public: | |||
---|---|---|---|---|---|

69 | // installs that is 65536, so the first 15 pages cannot be used. | 69 | // installs that is 65536, so the first 15 pages cannot be used. | ||

70 | // Given that, the smallest value that can be used in here is 0x10000. | 70 | // Given that, the smallest value that can be used in here is 0x10000. | ||

71 | uint64_t DefaultImageBase = 0x10000; | 71 | uint64_t DefaultImageBase = 0x10000; | ||

72 | 72 | | |||

73 | // Offset of _GLOBAL_OFFSET_TABLE_ from base of .got section. Use -1 for | 73 | // Offset of _GLOBAL_OFFSET_TABLE_ from base of .got section. Use -1 for | ||

74 | // end of .got | 74 | // end of .got | ||

75 | uint64_t GotBaseSymOff = 0; | 75 | uint64_t GotBaseSymOff = 0; | ||

76 | 76 | | |||

77 | // On systems with range extensions we place collections of Thunks at | ||||

78 | // regular spacings that enable the majority of branches reach the Thunks. | ||||

79 | uint32_t ThunkSectionSpacing = 0; | ||||

ruiu: nit: just 0 as `GotBaseSymOff` is set to just 0. | |||||

Not Done ReplyDone peter.smith: Done | |||||

80 | | ||||

81 | // An estimate of size of the Thunks that will be created per ThunkSection | ||||

82 | uint32_t ThunkSectionSize = 0; | ||||

83 | | ||||

77 | uint32_t CopyRel; | 84 | uint32_t CopyRel; | ||

78 | uint32_t GotRel; | 85 | uint32_t GotRel; | ||

79 | uint32_t PltRel; | 86 | uint32_t PltRel; | ||

80 | uint32_t RelativeRel; | 87 | uint32_t RelativeRel; | ||

81 | uint32_t IRelativeRel; | 88 | uint32_t IRelativeRel; | ||

82 | uint32_t TlsDescRel; | 89 | uint32_t TlsDescRel; | ||

83 | uint32_t TlsGotRel; | 90 | uint32_t TlsGotRel; | ||

84 | uint32_t TlsModuleIndexRel; | 91 | uint32_t TlsModuleIndexRel; | ||

▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |

nit: just 0 as

GotBaseSymOffis set to just 0.