[PATCH] D43952: [ELF][MIPS] Don't change every dynamic relocation into R_MIPS_REL32

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 05:58:46 PST 2018


atanasyan added a comment.

In https://reviews.llvm.org/D43952#1025301, @arichardson wrote:

> However, I don't really understand why we need to add a relocation in the GOT just to write an absolute data symbol. I believe emitting a R_MIPS_64 relocation should result in the same runtime value being stored but we don't need the additional GOT slot.


I think it's betters to ask this question on GNU binutils / libc mail lists.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43952





More information about the llvm-commits mailing list