================ @@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList &args) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = + getZFlag(args, "lrodata-after-bss", "nolrodata-after-bss", false); ---------------- MaskRay wrote:
Sorry, but no. I don't think the x86-64 -fno-pic case justifies changing the tradition that -no-pie/-pie does not change the layout (internal linker script). `-z lrodata-after-bss` is a common ground that we both can accept and it has its own merit to test two layouts for file-backed transparent huge pages. https://github.com/llvm/llvm-project/pull/81224 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits