Current revision has bug, which causes incorrect LMA offset calculation in section also specifies VMA, i.e:
.foo 0x5000 : AT(0x5000) { *(.bar*) }
This happens because Dot is evaluated after being passed by value to lambda expression
Paths
| Differential D30832
[ELF] Fix LMA offset calculation ClosedPublic Authored by evgeny777 on Mar 10 2017, 8:33 AM.
Details Summary Current revision has bug, which causes incorrect LMA offset calculation in section also specifies VMA, i.e: .foo 0x5000 : AT(0x5000) { *(.bar*) } This happens because Dot is evaluated after being passed by value to lambda expression
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 13 2017, 1:22 PM Closed by commit rL297713: [ELF] Fix LMA offset calculation (authored by evgeny777). · Explain WhyMar 14 2017, 2:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 91687 lld/trunk/ELF/LinkerScript.cpp
lld/trunk/test/ELF/linkerscript/at.s
|