diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-04-18 10:20:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-04-18 10:20:54 +0200 |
commit | 55036a4e8a9c9c826300bc3dae42049bb81b8660 (patch) | |
tree | a59da24d82c9562cc89a4ec52902d9e8b92a72bf /target/linux/patches/6.6.22/riscv-flat.patch | |
parent | a2c8f143a04f0a6b1cffa4d124a070f096587f85 (diff) |
linux: set Linux 6.6.x as default
Diffstat (limited to 'target/linux/patches/6.6.22/riscv-flat.patch')
-rw-r--r-- | target/linux/patches/6.6.22/riscv-flat.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/patches/6.6.22/riscv-flat.patch b/target/linux/patches/6.6.22/riscv-flat.patch new file mode 100644 index 000000000..6d26c638f --- /dev/null +++ b/target/linux/patches/6.6.22/riscv-flat.patch @@ -0,0 +1,19 @@ +diff -Nur linux-6.6.22.orig/fs/binfmt_flat.c linux-6.6.22/fs/binfmt_flat.c +--- linux-6.6.22.orig/fs/binfmt_flat.c 2024-03-15 19:25:07.000000000 +0100 ++++ linux-6.6.22/fs/binfmt_flat.c 2024-04-17 15:41:29.292461687 +0200 +@@ -879,6 +879,7 @@ + if (res < 0) + return res; + ++#ifndef CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET + /* Update data segment pointers for all libraries */ + for (i = 0; i < MAX_SHARED_LIBS; i++) { + if (!libinfo.lib_list[i].loaded) +@@ -893,6 +894,7 @@ + return -EFAULT; + } + } ++#endif + + set_binfmt(&flat_format); + |