[llvm] r323297 - Don't assume a null GV is local for ELF and MachO.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 06:54:15 PST 2018


Brooks Moses <bmoses at google.com> writes:

> On Mon, Feb 5, 2018 at 8:01 PM, Rafael Avila de Espindola <
> rafael.espindola at gmail.com> wrote:
>
>> Rafael Avila de Espindola <rafael.espindola at gmail.com> writes:
>> > From llvm's point of view I would say that it is all missing features in
>> > grubs partial implementation of the ABI.
>> >
>> > I am happy helping implement the missing bits in grub, but I don't think
>> > we should avoid this change in llvm.
>>
>> The attached file should implement the missing relocation on i386. How
>> do I test it?
>>
>
> Thanks for the quickly-implemented fix!  Honestly, I'm not sure how to
> fully test that this boots, but one of our grub developers has offered to
> test things for me if needed, so I'll give this a quick try tomorrow
> morning to make sure it builds in our build system, and then hand it off to
> him for testing.  Hopefully we can let you know tomorrow afternoon if this
> works and get you unblocked on re-committing the patch.
>
> If this is indeed the extent of the change required for grub, I agree with
> your analysis that this shouldn't be a blocker.

Any news? I would really like to recommit the patch.

It seems unreasonable to hold back a llvm patch because another software
has an incomplete linker implementation, specially when a patch is
available.

Cheers,
Rafael


More information about the llvm-commits mailing list