[PATCH] D33145: Clear output section from linker script command when it's removed.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue May 23 10:48:48 PDT 2017
"Mikulin, Dmitry" <dmitry.mikulin at sony.com> writes:
>> I think that the change to LinkerScript.cpp is all that you need, no?
>>
>> With that the created sections are never SHT_REL or SHT_RELA.
>
> I’d still keep the change in Writer.cpp. For the sake of consistency we shouldn’t reference output sections, which have effectively been deleted from the output, in script commands. Here we’d be propagating their flags even though they are not in the output.
Even if we do that, it should be another patch if it is not required for
this change.
Cheers,
Rafael
More information about the llvm-commits
mailing list