llvm-project/llvm/lib/Target/AArch64/MCTargetDesc
Rafael Espindola 5904e12bfa Completely rewrite ELFObjectWriter::RecordRelocation.
I started trying to fix a small issue, but this code has seen a small fix too
many.

The old code was fairly convoluted. Some of the issues it had:

* It failed to check if a symbol difference was in the some section when
  converting a relocation to pcrel.
* It failed to check if the relocation was already pcrel.
* The pcrel value computation was wrong in some cases (relocation-pc.s)
* It was missing quiet a few cases where it should not convert symbol
  relocations to section relocations, leaving the backends to patch it up.
* It would not propagate the fact that it had changed a relocation to pcrel,
  requiring a quiet nasty work around in ARM.
* It was missing comments.

llvm-svn: 205076
2014-03-29 06:26:49 +00:00
..
AArch64AsmBackend.cpp Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
AArch64ELFObjectWriter.cpp Remove another unused argument. 2014-03-27 20:49:35 +00:00
AArch64ELFStreamer.cpp Change MCStreamer EmitInstruction interface to take subtarget info 2014-01-28 23:12:42 +00:00
AArch64ELFStreamer.h
AArch64FixupKinds.h AArch64: add block comments where missing 2013-02-14 16:17:01 +00:00
AArch64MCAsmInfo.cpp [AArch64] Remove .data_region directive from AArch64. 2014-03-21 02:12:48 +00:00
AArch64MCAsmInfo.h Add AArch64 big endian Target (aarch64_be) 2014-02-24 11:34:50 +00:00
AArch64MCCodeEmitter.cpp Propagate MCSubtargetInfo through TableGen's getBinaryCodeForInstr() 2014-01-28 23:13:18 +00:00
AArch64MCExpr.cpp Try harder to evaluate expressions when printing assembly. 2014-03-12 16:55:59 +00:00
AArch64MCExpr.h AArch64: implement large code model access to global variables. 2013-05-04 16:53:46 +00:00
AArch64MCTargetDesc.cpp Add AArch64 big endian Target (aarch64_be) 2014-02-24 11:34:50 +00:00
AArch64MCTargetDesc.h Add AArch64 big endian Target (aarch64_be) 2014-02-24 11:34:50 +00:00
CMakeLists.txt [CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt Remove cyclic dependency in AArch64 libraries 2013-02-05 13:24:47 +00:00
Makefile