This patch adds changes to start supporting the Power 64-Bit ELF V2 ABI. This includes:
- changing the ElfSym::GlobalOffsetTable to be named .TOC. rather than _GLOBAL_OFFSET_TABLE_
- creating a GotHeader so the first entry in the .got is .TOC.
- setting the e_flags to be 1 for ELF V1 and 2 for ELF V2
Maybe you should template PPC64 class with ELFT? We do that for MIPS, and it's working fine. By doing that, we can remove this kind of switch completely.