summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFObjectTargetWriter.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-05-15 15:07:06 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-05-15 15:07:06 +0000
commit2fb140ef31d26d3a4afa47626234e290d72b4ef0 (patch)
tree3744df2098eddf397331c0e8250c30978978a792 /llvm/lib/MC/MCELFObjectTargetWriter.cpp
parentffd144174dcd4a825172e75682abfee9d8e0e9bb (diff)
downloadbcm5719-llvm-2fb140ef31d26d3a4afa47626234e290d72b4ef0.tar.gz
bcm5719-llvm-2fb140ef31d26d3a4afa47626234e290d72b4ef0.zip
[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
Diffstat (limited to 'llvm/lib/MC/MCELFObjectTargetWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud