Home | History | Annotate | Download | only in Targets

Lines Matching refs:RE

43   // The target location for the relocation is described by RE.SectionID and
44 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
60 // the symbol resides (RE.Addend provides additional information about the
63 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
64 const SectionEntry &Section = Sections[RE.SectionID];
65 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
67 switch (RE.RelType) {
75 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
78 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32);
80 uint64_t Result = Value + RE.Addend;
99 writeBytesUnaligned(Value + RE.Addend, Target, 8);
168 RelocationEntry RE(SectionID, Offset, RelType, Addend);
169 addRelocationForSymbol(RE, TargetName);
179 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend);
180 addRelocationForSection(RE, TargetSectionID);