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

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 13:13:47 PST 2018


George Rimar via Phabricator <reviews at reviews.llvm.org> writes:

> grimar added a comment.
>
> So this intruduces -relocation-format=xxx option. 
> Is it documented somewhere ? I did not find the description.
>
> Looks it is for MIPS only ? I wonder why do you want to 
> mix .rel and .rel[a] objects and if it is really legal thing to do first of all ?

At some point I want to add an option for using Elf_Rela on ARM:

https://bugs.llvm.org/show_bug.cgi?id=28229

So I can see the value of being able to handle both Elf_Rel and Elf_Rela
in .o files, but I don't see why we need an option for deciding what to
use in the output.

Cheers,
Rafael


More information about the llvm-commits mailing list