[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
Thu Mar 1 12:03:56 PST 2018


atanasyan added inline comments.


================
Comment at: test/ELF/mips-32.s:51
 # REL-NEXT:     0x20008 R_MIPS_REL32 - 0x0
-# REL-NEXT:     0x20004 R_MIPS_REL32 v2 0x0
+# REL-NEXT:     0x20004 R_MIPS_32 v2 0x0
 # REL-NEXT:   }
----------------
I have not had a time for deep investigation yet, but both bfd and gold linker emit two R_MIPS_REL32 relocations for that test case. It looks like either a bug in GNU tools or problem in this fix.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43952





More information about the llvm-commits mailing list