[lld] r278550 - [ELF] - Fix for: error "invalid section index: xxx" when linking FreeBSD kernel.
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 24 15:57:54 PDT 2016
On 24 August 2016 at 21:47, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> On 12 August 2016 at 15:25, George Rimar via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: grimar
>> Date: Fri Aug 12 14:25:54 2016
>> New Revision: 278550
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=278550&view=rev
>> Log:
>> [ELF] - Fix for: error "invalid section index: xxx" when linking FreeBSD kernel.
>>
> That gas bug can be avoided by using --strip-local-absolute, so it is
> not clear that it is a good idea to hack around such a broken file in
> lld.
There are a couple of pre-built drivers that can be included in the
kernel that have this issue. If we don't want this change in lld we
can disable them when building FreeBSD with lld.
More information about the llvm-commits
mailing list