- User Since
- Jan 21 2021, 4:31 PM (5 w, 1 d)
Wed, Feb 17
Patrick Oppenlander <email@example.com>
I don't have commit access so someone else will need to commit.
Thu, Feb 11
Mon, Feb 8
Thanks for the feedback!
Thu, Feb 4
Maintain section address order as much as possible when assigning file offsets.
Mon, Feb 1
Use smaller address in test case.
Sun, Jan 31
I can think of a few times I've encountered this on nommu targets. Some examples:
Use a smaller address in test case. This means that if something goes wrong we don't try to make a huge file.
Not sure why my comments were automatically marked as done.
Add assertion that all sections in a load segment must be allocated.
Fix tbss.s test case.
Thanks for taking the time to review.
Thu, Jan 28
I've also found no good reason why BFD ld forces the program headers to reside in the first PT_LOAD segment. This change was based on that logic.
I agree that the description could be better. Looks like I fixated on the "could not allocate headers" error message when I wrote it.
Jan 27 2021
I forgot to mention that I do not have commit access. If this is acceptable someone else will need to commit on my behalf. Thanks again.
Yes, this came from a real use case.
Jan 26 2021
Jan 23 2021
Thankyou for taking the time to review and comment.
Jan 21 2021
In fact, if https://reviews.llvm.org/D95198 is acceptable it is a separate justification for this change. In order to place program headers somewhere other than the lowest VMA in the program image something like this needs to happen.
If the direction of the patch is acceptable I can provide a detailed analysis of each required testcase adjustment.