[llvm] r200895 - don't set HasReliableSymbolDifference for ELF.
Rafael Espindola
rafael.espindola at gmail.com
Wed Feb 5 17:06:31 PST 2014
Author: rafael
Date: Wed Feb 5 19:06:31 2014
New Revision: 200895
URL: http://llvm.org/viewvc/llvm-project?rev=200895&view=rev
Log:
don't set HasReliableSymbolDifference for ELF.
It is only used in MachObjectWriter.cpp. Another leftover from early days
of ELF in MC.
Modified:
llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp?rev=200895&r1=200894&r2=200895&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp Wed Feb 5 19:06:31 2014
@@ -347,9 +347,7 @@ class ELFX86AsmBackend : public X86AsmBa
public:
uint8_t OSABI;
ELFX86AsmBackend(const Target &T, uint8_t _OSABI, StringRef CPU)
- : X86AsmBackend(T, CPU), OSABI(_OSABI) {
- HasReliableSymbolDifference = true;
- }
+ : X86AsmBackend(T, CPU), OSABI(_OSABI) {}
};
class ELFX86_32AsmBackend : public ELFX86AsmBackend {
More information about the llvm-commits
mailing list