[PATCH] D45972: [ELF][MIPS] Fix calculation of GP relative relocations in case of relocatable output

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 08:45:23 PDT 2018


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

- Add more tests
- Fix handling non-zero GP0 in case of microMIPS code


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D45972

Files:
  ELF/InputSection.cpp
  ELF/SyntheticSections.cpp
  test/ELF/Inputs/mips-micro-gp0-non-zero.o
  test/ELF/Inputs/mips-n64-gp0-non-zero.o
  test/ELF/mips-gprel32-relocs-gp0.s
  test/ELF/mips-non-zero-gp0.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45972.143754.patch
Type: text/x-patch
Size: 6247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/5393f4f8/attachment.bin>


More information about the llvm-commits mailing list