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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
ELF/LinkerScript.cpp | ||
---|---|---|
342 | This function has duplicate code with matchConstraints. Can you reorganize this and that to reduce the amount of code? |
Comment Actions
LGTM
ELF/LinkerScript.cpp | ||
---|---|---|
218–221 | Instead of template this function, use uint64_t instead of ELF::uint. |
Instead of template this function, use uint64_t instead of ELF::uint.