Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put the header in the first PT_LOAD even if that PT_LOAD has a LMAExpr. | Rafael Espindola | 2018-01-29 | 1 | -0/+21 |
This should fix PR36017. The root problem is that we were creating a PT_LOAD just for the header. That was technically valid, but inconvenient: we should not be making the ELF discontinuous. The solution is to allow a section with LMAExpr to be added to a PT_LOAD if that PT_LOAD doesn't already have a LMAExpr. llvm-svn: 323625 |