[lld] r277369 - [ELF/ARM] Add support for R_ARM_TARGET1 relocation.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 06:47:48 PDT 2016


On 2 August 2016 at 18:13, Rui Ueyama <ruiu at google.com> wrote:
> On Tue, Aug 2, 2016 at 3:04 PM, Davide Italiano <davide at freebsd.org> wrote:
>>
>> On Tue, Aug 2, 2016 at 6:38 AM, Rafael EspĂ­ndola
>> <rafael.espindola at gmail.com> wrote:
>> >> +  Config->Target1Rel = Args.hasArg(OPT_target1_rel);
>> >
>> > Is "target1-rel -target1-abs" valid? If so you probably need to get
>> > the last one.
>> >
>>
>> I think it makes sense. Do we have a way of handling this in general,
>> Rui? I think it applies also to --demangle/--no-demangle etc..
>
>
> We are currently not handling these kind of stuff well except a few options
> such as --whole-archive and --no-whole-archive. I think we don't even have
> --demangle as opposed to --no-demangle because --demangle is the default
> option and thus ignored. We eventually should handle them properly, so you
> can do if you want. Not sure if it is something you want to do right now,
> though.

I will open a bug to track it.

Cheers,
Rafael


More information about the llvm-commits mailing list