[lld] r248389 - [ELF2] - added ignored command line options for compatibility.
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 11:35:26 PDT 2015
Sorry, I misread
+def sunassert : Flag<["-"], "assert">,
+ HelpText<"Ignored for SunOS Compatibility">;
as creating a -sunassert option.
I really think we should drop at last qmagic since gold not supporting
it is a pretty strong indication it is not needed.
Even the other options I think we should add as needed. If no software
out there is still using them, we will never add them.
Cheers,
Rafael
On 23 September 2015 at 14:05, George Rimar <grimar at accesssoftek.com> wrote:
> 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