[PATCH] D15480: [ELF][MIPS] Handle R_MIPS_HI16/LO16 relocations against _gp_disp symbol

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 13:31:48 PST 2015


atanasyan updated this revision to Diff 42899.
atanasyan added a comment.

Save `SymbolBody` for the `_gp_disp` symbol into the `Config::MipsGpDisp` field and use the saved pointer instead of string "_gp_disp" comparison.


Repository:
  rL LLVM

http://reviews.llvm.org/D15480

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/InputSection.cpp
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  test/ELF/mips-hilo-gp-disp.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15480.42899.patch
Type: text/x-patch
Size: 4432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151215/f192f076/attachment.bin>


More information about the llvm-commits mailing list