llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc
Ulrich Weigand 2fb140ef31 [PowerPC] Remove need for adjustFixupOffst hack
Now that applyFixup understands differently-sized fixups, we can define
fixup_ppc_lo16/fixup_ppc_lo16_ds/fixup_ppc_ha16 to properly be 2-byte
fixups, applied at an offset of 2 relative to the start of the 
instruction text.

This has the benefit that if we actually need to generate a real
relocation record, its address will come out correctly automatically,
without having to fiddle with the offset in adjustFixupOffset.

Tested on both 64-bit and 32-bit PowerPC, using external and
integrated assembler.

llvm-svn: 181894
2013-05-15 15:07:06 +00:00
..
CMakeLists.txt Fix cmake. 2011-12-22 02:06:17 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
PPCAsmBackend.cpp [PowerPC] Remove need for adjustFixupOffst hack 2013-05-15 15:07:06 +00:00
PPCELFObjectWriter.cpp [PowerPC] Remove need for adjustFixupOffst hack 2013-05-15 15:07:06 +00:00
PPCFixupKinds.h PowerPC: Simplify handling of fixups. 2013-03-26 10:56:47 +00:00
PPCMCAsmInfo.cpp Fix powerpc test failure - forgot to initialize stack slot size for PPCLinuxMCAsmInfo 2013-01-23 17:12:15 +00:00
PPCMCAsmInfo.h Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
PPCMCCodeEmitter.cpp [PowerPC] Remove need for adjustFixupOffst hack 2013-05-15 15:07:06 +00:00
PPCMCTargetDesc.cpp Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
PPCMCTargetDesc.h To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts. 2013-03-17 12:40:42 +00:00
PPCPredicates.cpp Move PPC getSwappedPredicate for reuse 2013-04-20 05:16:26 +00:00
PPCPredicates.h Move PPC getSwappedPredicate for reuse 2013-04-20 05:16:26 +00:00