Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
ELF/Symbols.h
Show First 20 Lines • Show All 375 Lines • ▼ Show 20 Lines | template <class ELFT> struct ElfSym { | ||||
static DefinedRegular<ELFT> *Edata2; | static DefinedRegular<ELFT> *Edata2; | ||||
// The content for _end and end symbols. | // The content for _end and end symbols. | ||||
static DefinedRegular<ELFT> *End; | static DefinedRegular<ELFT> *End; | ||||
static DefinedRegular<ELFT> *End2; | static DefinedRegular<ELFT> *End2; | ||||
// The content for _gp_disp symbol for MIPS target. | // The content for _gp_disp symbol for MIPS target. | ||||
static SymbolBody *MipsGpDisp; | static SymbolBody *MipsGpDisp; | ||||
// The content for _SDA_BASE_ and _SDA2_BASE_ symbols. | |||||
static DefinedSynthetic<ELFT> *SdaBase; | |||||
static DefinedSynthetic<ELFT> *Sda2Base; | |||||
}; | }; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::EhdrStart; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::EhdrStart; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Etext; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Etext; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Etext2; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Etext2; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Edata; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Edata; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Edata2; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::Edata2; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::End; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::End; | ||||
template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::End2; | template <class ELFT> DefinedRegular<ELFT> *ElfSym<ELFT>::End2; | ||||
template <class ELFT> SymbolBody *ElfSym<ELFT>::MipsGpDisp; | template <class ELFT> SymbolBody *ElfSym<ELFT>::MipsGpDisp; | ||||
template <class ELFT> DefinedSynthetic<ELFT> *ElfSym<ELFT>::SdaBase; | |||||
template <class ELFT> DefinedSynthetic<ELFT> *ElfSym<ELFT>::Sda2Base; | |||||
// A real symbol object, SymbolBody, is usually stored within a Symbol. There's | // A real symbol object, SymbolBody, is usually stored within a Symbol. There's | ||||
// always one Symbol for each symbol name. The resolver updates the SymbolBody | // always one Symbol for each symbol name. The resolver updates the SymbolBody | ||||
// stored in the Body field of this object as it resolves symbols. Symbol also | // stored in the Body field of this object as it resolves symbols. Symbol also | ||||
// holds computed properties of symbol names. | // holds computed properties of symbol names. | ||||
struct Symbol { | struct Symbol { | ||||
// Symbol binding. This is on the Symbol to track changes during resolution. | // Symbol binding. This is on the Symbol to track changes during resolution. | ||||
// In particular: | // In particular: | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |