Currently, the 64bit PowerPC port defaults to the generic jump table handling, which is not PIC. This patch implements the minimal platform specific version of D26018 for PPC64. Jump tables are encoded as GlobalBaseReg-relative 32bit offsets. This should work well both or large code models as well, assuming individual functions are still within 4GB.
The downside is that the current implementation requires the global base setup (two instructions) and one instruction more for the jump table branch. The former can likely be improved using a TOC-based pointer load, but that's outside the scope of this patch.
From a discussion on IRC, the TOC is not guaranteed to stay as continuous chunk, otherwise the jump table could directly be lowered unto the TOC at the cost of a larger table but without the instruction overhead.
Bit -> bits
Add a period after instructions.