[PATCH] D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT

Sid Manning via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 09:24:27 PDT 2019


sidneym marked an inline comment as done.
sidneym added inline comments.


================
Comment at: ELF/InputSection.cpp:676
-  case R_HEXAGON_GOT:
-    return sym.getGotVA() - in.gotPlt->getVA();
   case R_MIPS_GOTREL:
----------------
Removing this will produce unexpected output.  GOT is the address in the GOT (G).  GOTREL is the difference between the location and table (S+A - GOT)


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66274/new/

https://reviews.llvm.org/D66274





More information about the llvm-commits mailing list