HA: [lld] r248389 - [ELF2] - added ignored command line options for compatibility.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 11:05:57 PDT 2015


I found the description of that flag in The GNU Linker book - http://www.eecs.umich.edu/courses/eecs373/readings/Linker.pdf
Page 14:
-assert keyword
This option is ignored for SunOS compatibility
________________________________________
От: davide.italiano at gmail.com [davide.italiano at gmail.com] от имени Davide Italiano [davide at freebsd.org]
Отправлено: 23 сентября 2015 г. 21:44
Кому: Rafael Espíndola; George Rimar
Копия: llvm-commits
Тема: Re: [lld] r248389 - [ELF2] - added ignored command line options for compatibility.

On Wed, Sep 23, 2015 at 10:36 AM, Rafael Espíndola
<rafael.espindola at gmail.com> wrote:
> qmagic is also not ignored by gold, do we really need it?
>
> On 23 September 2015 at 13:34, Rafael Espíndola
> <rafael.espindola at gmail.com> wrote:
>>> +def sunassert : Flag<["-"], "assert">,
>>> +     HelpText<"Ignored for SunOS Compatibility">;
>>> +
>>
>> Where did this come from? I don't see it being ignored by gold of bfd ld.
>>
>> Cheers,
>> Rafael

Sorry I probably made the wrong decision about this.
This doesn't seem harmful, but, after a second look, doesn't seem useful either.
George, can you clarify what's your use-case for this?


--
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