diff options
| author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2026-10-27 22:51:22 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-10-27 22:51:22 +0800 |
| commit | 21e3af1bc639c4bd2376d155def53fe0e9ea1264 (patch) | |
| tree | 5c59f71f5768e57a7b4eed9135765cb45a4bc7d2 /include/linux/debugobjects.h | |
| parent | e9c878f510c2e409f51602cfc8f128610f6932cd (diff) | |
LoongArch: Set NX compat flag in PE/COFF efi header
The flag IMAGE_DLLCHARACTERISTICS_NX_COMPAT informs the firmware that
the EFI stub binary does not rely on pages that are both executable and
writable.
As the Linux kernel neither has RWX sections nor needs RWX pages for
relocation we should set the flag.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
