================ @@ -0,0 +1,7 @@ +SECTIONS { + .text : { *(.text*) } ---------------- MaskRay wrote: lld creates a PF_R PT_LOAD. For best portability, the first section of each segment should be specified. I created #93763 https://github.com/llvm/llvm-project/pull/71821