This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold linker: rejected multiple definitions with the same absolute value
>> In this case I think the duplication is intentional. Those symbols are
>> from the RAP plugin,
>>
>> https://grsecurity.net/rap_faq.php
>>
>> which is designed to prevent code-reuse attacks by (among other things)
>> checking that a function's signature matches at its definition and call
>> sites. It does that, somehow, by emitting those "__rap_hash" symbols.
>> Presumably the fact that their two values are equal is a good thing.
>
> That actually sounds like a pretty good rationale. It reminds me of
> template meta-programming.
I've committed this patch:
https://sourceware.org/ml/binutils/2017-11/msg00543.html
-cary