Searching for gotBaseSymInGotPlt in LLVM I could find the following to confirm the the targets specified in #36037:
$ grep "gotBaseSymInGotPlt =" llvm-project/lld/ELF -r :(
llvm-project/lld/ELF/Arch/Hexagon.cpp: gotBaseSymInGotPlt = true;
llvm-project/lld/ELF/Arch/X86.cpp: gotBaseSymInGotPlt = true;
llvm-project/lld/ELF/Arch/X86_64.cpp: gotBaseSymInGotPlt = true;
llvm-project/lld/ELF/Target.h: bool gotBaseSymInGotPlt = false;
From https://www.sco.com/developers/gabi/latest/ch4.eheader.html I found that Hexagon is EM_QDSP6, x86 is EM_386 and x86_64 is EM_X86_64.
This pr changes the _GLOBAL_OFFSET_TABLE_ to point to the start .got.plt for these elf targets instead of .got
Closes #36037
Searching for `gotBaseSymInGotPlt` in LLVM I could find the following to confirm the the targets specified in #36037:
```bash
$ grep "gotBaseSymInGotPlt =" llvm-project/lld/ELF -r :(
llvm-project/lld/ELF/Arch/Hexagon.cpp: gotBaseSymInGotPlt = true;
llvm-project/lld/ELF/Arch/X86.cpp: gotBaseSymInGotPlt = true;
llvm-project/lld/ELF/Arch/X86_64.cpp: gotBaseSymInGotPlt = true;
llvm-project/lld/ELF/Target.h: bool gotBaseSymInGotPlt = false;
```
From `https://www.sco.com/developers/gabi/latest/ch4.eheader.html` I found that Hexagon is `EM_QDSP6`, x86 is `EM_386` and x86_64 is `EM_X86_64`.
This pr changes the` _GLOBAL_OFFSET_TABLE_` to point to the start .got.plt for these elf targets instead of .got
Closes #36037