On 04/01/2023 12:02, Pawel Zalewski wrote:
You shouldn't need this any more. This tool was written at a time when the released toolchain did not know about the new ELF flag yet, and we needed something to fill the gap. The LLVM release you are using does add this flag itself as appropriate (i.e. when building purecap binaries).
You are right, I have just checked this with readelf, again thank you for updating me. I shall remove the patcher in V2.
I think that the busybox 1.5 makefile is still using the patcher as well: https://git.morello-project.org/morello/morello-busybox/-/blob/morello-relea...
That's correct, I think it was kept for backwards-compatibility with older toolchains. The patcher is a no-op if the flag is already there so it doesn't hurt either, but for new stacks like this one we can do without it.
Kevin