[llvm] r273017 - Change RelaxELFRelocations' default.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 10:26:07 PDT 2016


Author: rafael
Date: Fri Jun 17 12:26:07 2016
New Revision: 273017

URL: http://llvm.org/viewvc/llvm-project?rev=273017&view=rev
Log:
Change RelaxELFRelocations' default.

NFC to the existing clients since they all set it already.

Modified:
    llvm/trunk/include/llvm/MC/MCAsmInfo.h

Modified: llvm/trunk/include/llvm/MC/MCAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCAsmInfo.h?rev=273017&r1=273016&r2=273017&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCAsmInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCAsmInfo.h Fri Jun 17 12:26:07 2016
@@ -371,7 +371,7 @@ protected:
 
   // If true, emit GOTPCRELX/REX_GOTPCRELX instead of GOTPCREL, on
   // X86_64 ELF.
-  bool RelaxELFRelocations = false;
+  bool RelaxELFRelocations = true;
 
 public:
   explicit MCAsmInfo();




More information about the llvm-commits mailing list