pcc wrote: > What I had in mind was that sh_addralign would contain the preferred > alignment (which would also be controlled by -falign-functions), and we would > introduce a new LLVM-specific ELF section type containing an array of > (relocation pointing to section, minimum alignment) pairs.
Gave it more thought and we don't really need relocations for this, we could just use sh_link. Sent #150151. https://github.com/llvm/llvm-project/pull/149448 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits