[all-commits] [llvm/llvm-project] 30774a: [clang][Driver] Use --no-rosegment for LoongArch L...
hev via All-commits
all-commits at lists.llvm.org
Mon Sep 21 07:32:56 PDT 2026
Branch: refs/heads/users/hev/loong-clang-no-rosegment
Home: https://github.com/llvm/llvm-project
Commit: 30774acb678955a30d89342c4e29ea9b2114665d
https://github.com/llvm/llvm-project/commit/30774acb678955a30d89342c4e29ea9b2114665d
Author: WANG Rui <wangrui at loongson.cn>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/test/Driver/linux-ld.c
Log Message:
-----------
[clang][Driver] Use --no-rosegment for LoongArch Linux
Pass --no-rosegment when linking LoongArch Linux targets so that read-only
code remains in the first LOAD segment, matching the GNU ld layout.
This allows Linux to make more effective use of file-backed PMD mappings and
reduces iTLB misses.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list