[PATCH] D28761: [ELF] Bypass section type check.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 06:55:39 PST 2017
Eugene Leviant via Phabricator <reviews at reviews.llvm.org> writes:
> evgeny777 added a comment.
>
> I don't know why this type check was added, but it prevents from joining .init_array with any other section by linker script.
> If Rafael doesn't mind removing it I'm ok with that as well.
I would be OK with relaxing it. Please don't remove it completely just
yet. We already have a case for allocating nobits sections.
What exactly is the script trying to do? Why is .init_array being merged
with .data?
Cheers,
Rafael
More information about the llvm-commits
mailing list