]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch
authorSasha Levin <sashal@kernel.org>
Fri, 23 May 2025 12:19:04 +0000 (08:19 -0400)
committerSasha Levin <sashal@kernel.org>
Fri, 23 May 2025 12:20:10 +0000 (08:20 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-6.12/series
queue-6.12/x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch [deleted file]
queue-6.14/series
queue-6.14/x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch [deleted file]

index 8afd6c9a878d1b30c9e51ededbd19a4ce702df2c..8924f6e239a9562bfd824e7429f690f48df9e434 100644 (file)
@@ -355,7 +355,6 @@ eth-mlx4-don-t-try-to-complete-xdp-frames-in-netpoll.patch
 pci-fix-old_size-lower-bound-in-calculate_iosize-too.patch
 acpi-hed-always-initialize-before-evged.patch
 vxlan-join-leave-mc-group-after-remote-changes.patch
-x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch
 x86-boot-disable-stack-protector-for-early-boot-code.patch
 hrtimers-replace-hrtimer_clock_to_base_table-with-sw.patch
 irqchip-riscv-imsic-set-irq_set_affinity-for-imsic-b.patch
diff --git a/queue-6.12/x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch b/queue-6.12/x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch
deleted file mode 100644 (file)
index 63cb567..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-From e2c328b432149ff61d399af825c934869c86116e Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 23 Jan 2025 14:07:37 -0500
-Subject: x86/relocs: Handle R_X86_64_REX_GOTPCRELX relocations
-
-From: Brian Gerst <brgerst@gmail.com>
-
-[ Upstream commit cb7927fda002ca49ae62e2782c1692acc7b80c67 ]
-
-Clang may produce R_X86_64_REX_GOTPCRELX relocations when redefining the
-stack protector location.  Treat them as another type of PC-relative
-relocation.
-
-Signed-off-by: Brian Gerst <brgerst@gmail.com>
-Signed-off-by: Ingo Molnar <mingo@kernel.org>
-Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
-Cc: Linus Torvalds <torvalds@linux-foundation.org>
-Link: https://lore.kernel.org/r/20250123190747.745588-6-brgerst@gmail.com
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/tools/relocs.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c
-index c101bed619400..7f390e3374a76 100644
---- a/arch/x86/tools/relocs.c
-+++ b/arch/x86/tools/relocs.c
-@@ -32,6 +32,11 @@ static struct relocs                relocs32;
- static struct relocs          relocs32neg;
- static struct relocs          relocs64;
- # define FMT PRIu64
-+
-+#ifndef R_X86_64_REX_GOTPCRELX
-+# define R_X86_64_REX_GOTPCRELX 42
-+#endif
-+
- #else
- # define FMT PRIu32
- #endif
-@@ -227,6 +232,7 @@ static const char *rel_type(unsigned type)
-               REL_TYPE(R_X86_64_PC16),
-               REL_TYPE(R_X86_64_8),
-               REL_TYPE(R_X86_64_PC8),
-+              REL_TYPE(R_X86_64_REX_GOTPCRELX),
- #else
-               REL_TYPE(R_386_NONE),
-               REL_TYPE(R_386_32),
-@@ -861,6 +867,7 @@ static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
-       case R_X86_64_PC32:
-       case R_X86_64_PLT32:
-+      case R_X86_64_REX_GOTPCRELX:
-               /*
-                * PC relative relocations don't need to be adjusted unless
-                * referencing a percpu symbol.
--- 
-2.39.5
-
index 3266a50f602be1d320233328e9f63ad591fc7b5a..ccb8e0d13bc3e41e18902e32332d3e358419414e 100644 (file)
@@ -436,7 +436,6 @@ eth-mlx4-don-t-try-to-complete-xdp-frames-in-netpoll.patch
 pci-fix-old_size-lower-bound-in-calculate_iosize-too.patch
 acpi-hed-always-initialize-before-evged.patch
 vxlan-join-leave-mc-group-after-remote-changes.patch
-x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch
 x86-boot-disable-stack-protector-for-early-boot-code.patch
 posix-timers-invoke-cond_resched-during-exit_itimers.patch
 hrtimers-replace-hrtimer_clock_to_base_table-with-sw.patch
diff --git a/queue-6.14/x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch b/queue-6.14/x86-relocs-handle-r_x86_64_rex_gotpcrelx-relocations.patch
deleted file mode 100644 (file)
index 6c95c54..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-From d8e603969259e50aa632d1a3fde8883f41e26150 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 23 Jan 2025 14:07:37 -0500
-Subject: x86/relocs: Handle R_X86_64_REX_GOTPCRELX relocations
-
-From: Brian Gerst <brgerst@gmail.com>
-
-[ Upstream commit cb7927fda002ca49ae62e2782c1692acc7b80c67 ]
-
-Clang may produce R_X86_64_REX_GOTPCRELX relocations when redefining the
-stack protector location.  Treat them as another type of PC-relative
-relocation.
-
-Signed-off-by: Brian Gerst <brgerst@gmail.com>
-Signed-off-by: Ingo Molnar <mingo@kernel.org>
-Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
-Cc: Linus Torvalds <torvalds@linux-foundation.org>
-Link: https://lore.kernel.org/r/20250123190747.745588-6-brgerst@gmail.com
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/tools/relocs.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c
-index e937be979ec86..92a1e503305ef 100644
---- a/arch/x86/tools/relocs.c
-+++ b/arch/x86/tools/relocs.c
-@@ -32,6 +32,11 @@ static struct relocs                relocs32;
- static struct relocs          relocs32neg;
- static struct relocs          relocs64;
- # define FMT PRIu64
-+
-+#ifndef R_X86_64_REX_GOTPCRELX
-+# define R_X86_64_REX_GOTPCRELX 42
-+#endif
-+
- #else
- # define FMT PRIu32
- #endif
-@@ -227,6 +232,7 @@ static const char *rel_type(unsigned type)
-               REL_TYPE(R_X86_64_PC16),
-               REL_TYPE(R_X86_64_8),
-               REL_TYPE(R_X86_64_PC8),
-+              REL_TYPE(R_X86_64_REX_GOTPCRELX),
- #else
-               REL_TYPE(R_386_NONE),
-               REL_TYPE(R_386_32),
-@@ -861,6 +867,7 @@ static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
-       case R_X86_64_PC32:
-       case R_X86_64_PLT32:
-+      case R_X86_64_REX_GOTPCRELX:
-               /*
-                * PC relative relocations don't need to be adjusted unless
-                * referencing a percpu symbol.
--- 
-2.39.5
-