llvm-6502/lib/Target/X86/MCTargetDesc
Rafael Espindola 930ca98433 Fix pr19645.
The fix itself is fairly simple: move getAccessVariant to MCValue so that we
replace the old weak expression evaluation with the far more general
EvaluateAsRelocatable.

This then requires that EvaluateAsRelocatable stop when it finds a non
trivial reference kind. And that in turn requires the ELF writer to look
harder for weak references.

Last but not least, this found a case where we were being bug by bug
compatible with gas and accepting an invalid input. I reported pr19647
to track it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207920 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-03 19:57:04 +00:00
..
CMakeLists.txt MC: create X86WinCOFFStreamer for target specific behaviour 2014-04-27 03:48:12 +00:00
LLVMBuild.txt
Makefile Rename TargetDesc to MCTargetDesc 2011-06-24 23:53:19 +00:00
X86AsmBackend.cpp Handle _GLOBAL_OFFSET_TABLE_ in 64 bit mode. 2014-04-21 21:15:45 +00:00
X86BaseInfo.h
X86ELFObjectWriter.cpp Fix pr19645. 2014-05-03 19:57:04 +00:00
X86ELFRelocationInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86FixupKinds.h Handle _GLOBAL_OFFSET_TABLE_ in 64 bit mode. 2014-04-21 21:15:45 +00:00
X86MachObjectWriter.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MachORelocationInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MCAsmInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MCAsmInfo.h
X86MCCodeEmitter.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MCTargetDesc.cpp MC: create X86WinCOFFStreamer for target specific behaviour 2014-04-27 03:48:12 +00:00
X86MCTargetDesc.h MC: create X86WinCOFFStreamer for target specific behaviour 2014-04-27 03:48:12 +00:00
X86WinCOFFObjectWriter.cpp
X86WinCOFFStreamer.cpp MC: create X86WinCOFFStreamer for target specific behaviour 2014-04-27 03:48:12 +00:00