[PATCH] D14382: [ELF2] - Basic implementation of -r/--relocatable
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 5 10:13:57 PST 2015
On Thu, Nov 5, 2015 at 10:10 AM, George Rimar via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> grimar added a comment.
>
> In http://reviews.llvm.org/D14382#282433, @rafael wrote:
>
>> I don't think traditional linkers resolve relocations during -r.
>>
>> I would probably delay implementing that if so. A simple -r should help us
>> with linking freebsd.
>>
>> Cheers, Rafael
>
>
> Sounds good :)
>
Just FYI even in FreeBSD this is not very high priority. -r is used
only for OpenPAM and another few modules that we can (easily)
disabled.
At some point I plan to take a look at each linker invocation in
FreeBSD passing -r in order to understand if really required for them
or it's only historical heritage (wild guess, probably it won't but
nobody ever bothered to change it).
That said, great to see -r implemented, I plan to take a closer look
at this patch for review in the next days.
Thanks!
--
Davide
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits
mailing list