[PATCH] D42790: [ELF] Ensure that Elf_Rela addends are always written with -r

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 13:03:43 PST 2018


arichardson added a comment.

In https://reviews.llvm.org/D42790#995391, @ruiu wrote:

> > So should/can we switch LLD to always emit Elf_Rel for all MIPS outputs then ?
>
> I think I agree with George. REL/RELA is defined by the ABI and making it configurable seems odd.


I only added the flag to make the testing easier. I can try to create the various input files using yaml2obj but that will require 4 different input files instead of just one .s file.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42790





More information about the llvm-commits mailing list