public static int getPpc64ABIVersion(ElfHeader elf) {
		if (elf.e_machine() != ElfConstants.EM_PPC64) {
			return 0;
		}
		// TODO: While the e_flags should indicate the use of function descriptors, this
		// may not be set reliably.  The presence of the .opd section is another
		// indicator but could be missing if sections have been stripped.
		return elf.e_flags() & EF_PPC64_ABI;
	}
Get the PPC64 ABI version specified within the ELF header.
Expected values include:
<ul>
<li> 1 for original function descriptor using ABI </li>
<li> 2 for revised ABI without function descriptors </li>
<li> 0 for unspecified or not using any features affected by the differences </li>
</ul>
@param elf ELF header
@return ABI version
Ghidra/Processors/PowerPC/src/main/java/ghidra/app/util/bin/format/elf/extend/PowerPC64_ElfExtension.java