This merges the two places were we check Config->IsRela to decide how to write a relocation addend.
Diff Detail
Diff Detail
Paths 
  |  Differential  D41681  
Centralize Config->IsRela handling ClosedPublic Authored by • espindola on Jan 2 2018, 1:40 PM. 
Details 
Diff Detail Event Timeline• espindola added a child revision: D41645: Move scanReloc to an auxiliary function.Jan 5 2018, 11:39 AM This revision is now accepted and ready to land.Jan 5 2018, 12:02 PM 
Revision Contents 
 
 
Diff 128585 ELF/Relocations.cpp
 ELF/SyntheticSections.h
 ELF/SyntheticSections.cpp
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||