[llvm] r269909 - Don't pass a Reloc::Model to MC.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 05:57:26 PDT 2016
On 29 August 2016 at 08:26, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>>> - if (RelocM == Reloc::Static) {
>>> + if (!PositionIndependent) {
>>
>> ^ This comparison is not an exact rewrite. For DynamicNoPIC relocation model, it uses "__DATA,__mod_func_init" before but now it goes to "__TEXT,__constructor". Maybe a new field for whether the binary is dynamic is needed.
>>
>
> Are there any position dependent users left? Can we switch to always
> using "__DATA,__mod_func_init"?
Never mind, it was easy to fix: r279967
Cheers,
Rafael
More information about the llvm-commits
mailing list