[PATCH] D23451: [ELF] - Linkerscript: fix VA value assigned to sections when using constraints.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 08:55:40 PDT 2016


grimar created this revision.
grimar added a reviewer: ruiu.
grimar added subscribers: llvm-commits, grimar, davide, evgeny777.

Previously we searched output section by name to assign VA. That did not
work in the case when multiple output sections with different constraints were defined in script.
Testcase shows the possible issue scenario, patch fixes the issue.

https://reviews.llvm.org/D23451

Files:
  ELF/LinkerScript.cpp
  test/ELF/linkerscript/linkerscript-multi-sections-constraint.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23451.67841.patch
Type: text/x-patch
Size: 4124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160812/b5af82f1/attachment.bin>


More information about the llvm-commits mailing list