[PATCH] D39489: [ELF] - Linkerscript: fix issue with multiple output sections definitions.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 00:48:15 PST 2017


grimar added a comment.

In https://reviews.llvm.org/D39489#927076, @ruiu wrote:

> Before getting into details, I'd like to ask if such linker script is valid in GNU linkers.


Yes, both gold and bfd accepts this script and produce valid result.

> Also I wonder how you noticed this.

Just found during review of code that our logic is probably weak here and tried to break it
with the testcase from this patch.


https://reviews.llvm.org/D39489





More information about the llvm-commits mailing list