public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] f45: Update to 23.1.3
@ 2026-11-05 15:46 
  0 siblings, 0 replies; 2+ messages in thread
From:  @ 2026-11-05 15:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/llvm
Branch : f45
Commit : 3138a9ae55b520c5f82a3fb34c7cee6064a33766
Author : Timm Bäder <tbaeder@redhat.com>
Date   : 2026-10-07T13:44:31+02:00
Stats  : +5/-99 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/llvm/c/3138a9ae55b520c5f82a3fb34c7cee6064a33766?branch=f45

Log:
Update to 23.1.3

---
diff --git a/224946.patch b/224946.patch
deleted file mode 100644
index 72d24cc..0000000
--- a/224946.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From 016aefac95b77405ba74c37d2fd78a8a272f5854 Mon Sep 17 00:00:00 2001
-From: Arthur Eubanks <aeubanks@google.com>
-Date: Mon, 27 Jul 2026 10:39:23 -0700
-Subject: [PATCH] [lld] Don't drop RELR relocations for late-added GOT entries
- (#211911)
-
-In #208959 we started dropping RELR relocations for late-added GOT
-entries when reverting x86-64 GOTPCRELX relaxations in
-X86_64::relaxOnce.
-
-There is a separate unrelaxation bug where if the object files didn't
-have any relocations of a certain type, we'd prune .relr.dyn (or even
-.rela.dyn). Will be addressed separately.
-
-Assisted-by: Gemini
-(cherry picked from commit 5565740f2367093b89481ba7371adf820971977d)
----
- lld/ELF/Relocations.cpp                       |  4 +--
- lld/ELF/SyntheticSections.h                   |  8 ++++--
- .../ELF/x86-64-gotpc-relax-too-far-relr.s     | 26 +++++++++++++++++++
- 3 files changed, 34 insertions(+), 4 deletions(-)
- create mode 100644 lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
-
-diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
-index 4702d941d28ca..a1d3c5c2ea005 100644
---- a/lld/ELF/Relocations.cpp
-+++ b/lld/ELF/Relocations.cpp
-@@ -724,8 +724,8 @@ static void addRelativeReloc(Ctx &ctx, InputSectionBase &isec,
-   if (sym.isTagged())
-     relrDyn = nullptr;
-   if (relrDyn && isec.addralign >= 2 && offsetInSec % 2 == 0) {
--    relrDyn->addRelativeReloc(isec, offsetInSec, sym, addend, type, expr,
--                              shard);
-+    relrDyn->addRelativeReloc<concurrent>(isec, offsetInSec, sym, addend, type,
-+                                          expr, shard);
-     return;
-   }
-   RelType relativeType = ctx.target->relativeRel;
-diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
-index 523f6587899fe..1079275439bc7 100644
---- a/lld/ELF/SyntheticSections.h
-+++ b/lld/ELF/SyntheticSections.h
-@@ -609,12 +609,16 @@ class RelrBaseSection : public SyntheticSection {
-   RelrBaseSection(Ctx &, unsigned concurrency, bool isAArch64Auth = false);
-   /// Add a relative dynamic relocation that uses the target address of \p sym
-   /// (i.e. InputSection::getRelocTargetVA()) + \p addend as the addend.
-+  template <bool concurrent = false>
-   void addRelativeReloc(InputSectionBase &isec, uint64_t offsetInSec,
-                         Symbol &sym, int64_t addend, RelType addendRelType,
--                        RelExpr expr, unsigned shard) {
-+                        RelExpr expr, unsigned shard = 0) {
-     assert(expr != R_ADDEND && "expected non-addend relocation expression");
-     isec.addReloc({expr, addendRelType, offsetInSec, addend, &sym});
--    relocsVec[shard].push_back({&isec, isec.relocs().size() - 1});
-+    if constexpr (concurrent)
-+      relocsVec[shard].push_back({&isec, isec.relocs().size() - 1});
-+    else
-+      relocs.push_back({&isec, isec.relocs().size() - 1});
-   }
-   bool isNeeded() const override {
-     return !relocs.empty() ||
-diff --git a/lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s b/lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
-new file mode 100644
-index 0000000000000..6c5e5f4368a41
---- /dev/null
-+++ b/lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
-@@ -0,0 +1,26 @@
-+# REQUIRES: x86
-+## Test that RELR relocations added when unrelaxing GOTPCREL relocations
-+## during layout optimization (relaxOnce) are included in .relr.dyn.
-+## .quad foo ensures .relr.dyn is not removed before unrelaxing.
-+
-+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
-+# RUN: ld.lld -pie --pack-dyn-relocs=relr --section-start=.text=0x10000 --section-start=.got=0x20000 --section-start=.data=0x100000000 %t.o -o %t
-+# RUN: llvm-readobj -r %t | FileCheck %s
-+
-+# CHECK:      Relocations [
-+# CHECK-NEXT:   Section ({{.*}}) .relr.dyn {
-+# CHECK-NEXT:     0x20000 R_X86_64_RELATIVE -
-+# CHECK-NEXT:     0x100000000 R_X86_64_RELATIVE -
-+# CHECK-NEXT:   }
-+# CHECK-NEXT: ]
-+
-+.text
-+.globl _start
-+_start:
-+  movq foo@GOTPCREL(%rip), %rax
-+
-+.section .data,"aw",@progbits
-+.align 8
-+.globl foo
-+foo:
-+  .quad foo

diff --git a/llvm.spec b/llvm.spec
index 1863304..aa47abb 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -2,7 +2,7 @@
 #region version
 %global maj_ver 23
 %global min_ver 1
-%global patch_ver 2
+%global patch_ver 3
 #global rc_ver rc3
 
 %bcond_with snapshot_build
@@ -587,7 +587,6 @@ Patch106: 0001-19-Always-build-shared-libs-for-LLD.patch
 Patch2214: 0001-ELF-Simplify-AArch64-relocateAlloc.-NFC.patch
 Patch2215: 0001-LLD-AArch64-Make-adrp-ldr-relaxation-per-symbol-all-.patch
 Patch2216: 0001-lld-ELF-Concatenate-.gnu.build.attributes.-sections-.patch
-Patch2304: 224946.patch
 #endregion LLD patches
 
 #region polly patches

diff --git a/sources b/sources
index 3b9e9bc..beb9c03 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (llvm-project-23.1.2.src.tar.xz) = 91174e69ea787034f8a6b17120aae5f139204e13292119d1b066b4930dcea586c76b82228d3db281d8d4211384c7cb74c6b61fdef41b39d310908a8c7cf080cc
-SHA512 (llvm-project-23.1.2.src.tar.xz.sig) = fe76751211cfb1a56935f0e6fd9536309eb02111acb3f32f4badf7e45e6f0283125cf2ece00baa420afc488667c7e1fbb06f0567aa33ff9459f41281cb25e10c
-SHA512 (llvm_man_pages-23.1.2.tar.xz) = 82998efa7899eafedf69d7dfbeaf3a16dbd5ebac8977cc10a96c7bd66691720d55e7d2237f8b7bb5921a935a372400f1d9da2e7fa5519294b5f54d72afcd1eef
-SHA512 (llvm_man_pages-23.1.2.tar.xz.sig) = 9c3fd8e468f28f5314cc243209c94e1e37e57f5041669295ee0667fd47ddcd2e80c86f7c0b8247255afb083e1878417ca072e1b0badc1ffad759e558aced7f29
+SHA512 (llvm-project-23.1.3.src.tar.xz) = eb76f37804564a2595ca8de4864e96cf13c0a3f07922f6bce4d11771547525785c0fde54457aadf7aa1bcaac496475f1dde00e1b152c1df560669c6e3e1318bf
+SHA512 (llvm-project-23.1.3.src.tar.xz.sig) = 7eabfb513a5516cab7d2d366117abd36bdb9d1a50e8ab0b21991d8143222e965ac53dbbacc80c8977ed8aaee57b480b7fdbdae0ba847f62c031da69989d34d2d
+SHA512 (llvm_man_pages-23.1.3.tar.xz) = ceff8be4b758d0140afd01432908f50e77e87948c82ce06da8f025d3fa45b4479d390c0323b6ad117b75014db65951bdf55aab2e5b19e77a93b041dc0d405f73
+SHA512 (llvm_man_pages-23.1.3.tar.xz.sig) = f93be249f517d709d7e5bfb69ec0a04b7f09aa0f769ef190f4de3864142dcebbaf9907497de7226cb27fb0e3f0f2415c6a63010690baa76c5e1e7ba48729220f

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/llvm] f45: Update to 23.1.3
@ 2026-10-08  4:36 
  0 siblings, 0 replies; 2+ messages in thread
From:  @ 2026-10-08  4:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/llvm
Branch : f45
Commit : c61c2299a6bfc85765a78419ab9c9c9bfa6d38fd
Author : Timm Bäder <tbaeder@redhat.com>
Date   : 2026-10-08T06:36:09+02:00
Stats  : +5/-99 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/llvm/c/c61c2299a6bfc85765a78419ab9c9c9bfa6d38fd?branch=f45

Log:
Update to 23.1.3

---
diff --git a/224946.patch b/224946.patch
deleted file mode 100644
index 72d24cc..0000000
--- a/224946.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From 016aefac95b77405ba74c37d2fd78a8a272f5854 Mon Sep 17 00:00:00 2001
-From: Arthur Eubanks <aeubanks@google.com>
-Date: Mon, 27 Jul 2026 10:39:23 -0700
-Subject: [PATCH] [lld] Don't drop RELR relocations for late-added GOT entries
- (#211911)
-
-In #208959 we started dropping RELR relocations for late-added GOT
-entries when reverting x86-64 GOTPCRELX relaxations in
-X86_64::relaxOnce.
-
-There is a separate unrelaxation bug where if the object files didn't
-have any relocations of a certain type, we'd prune .relr.dyn (or even
-.rela.dyn). Will be addressed separately.
-
-Assisted-by: Gemini
-(cherry picked from commit 5565740f2367093b89481ba7371adf820971977d)
----
- lld/ELF/Relocations.cpp                       |  4 +--
- lld/ELF/SyntheticSections.h                   |  8 ++++--
- .../ELF/x86-64-gotpc-relax-too-far-relr.s     | 26 +++++++++++++++++++
- 3 files changed, 34 insertions(+), 4 deletions(-)
- create mode 100644 lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
-
-diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
-index 4702d941d28ca..a1d3c5c2ea005 100644
---- a/lld/ELF/Relocations.cpp
-+++ b/lld/ELF/Relocations.cpp
-@@ -724,8 +724,8 @@ static void addRelativeReloc(Ctx &ctx, InputSectionBase &isec,
-   if (sym.isTagged())
-     relrDyn = nullptr;
-   if (relrDyn && isec.addralign >= 2 && offsetInSec % 2 == 0) {
--    relrDyn->addRelativeReloc(isec, offsetInSec, sym, addend, type, expr,
--                              shard);
-+    relrDyn->addRelativeReloc<concurrent>(isec, offsetInSec, sym, addend, type,
-+                                          expr, shard);
-     return;
-   }
-   RelType relativeType = ctx.target->relativeRel;
-diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
-index 523f6587899fe..1079275439bc7 100644
---- a/lld/ELF/SyntheticSections.h
-+++ b/lld/ELF/SyntheticSections.h
-@@ -609,12 +609,16 @@ class RelrBaseSection : public SyntheticSection {
-   RelrBaseSection(Ctx &, unsigned concurrency, bool isAArch64Auth = false);
-   /// Add a relative dynamic relocation that uses the target address of \p sym
-   /// (i.e. InputSection::getRelocTargetVA()) + \p addend as the addend.
-+  template <bool concurrent = false>
-   void addRelativeReloc(InputSectionBase &isec, uint64_t offsetInSec,
-                         Symbol &sym, int64_t addend, RelType addendRelType,
--                        RelExpr expr, unsigned shard) {
-+                        RelExpr expr, unsigned shard = 0) {
-     assert(expr != R_ADDEND && "expected non-addend relocation expression");
-     isec.addReloc({expr, addendRelType, offsetInSec, addend, &sym});
--    relocsVec[shard].push_back({&isec, isec.relocs().size() - 1});
-+    if constexpr (concurrent)
-+      relocsVec[shard].push_back({&isec, isec.relocs().size() - 1});
-+    else
-+      relocs.push_back({&isec, isec.relocs().size() - 1});
-   }
-   bool isNeeded() const override {
-     return !relocs.empty() ||
-diff --git a/lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s b/lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
-new file mode 100644
-index 0000000000000..6c5e5f4368a41
---- /dev/null
-+++ b/lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
-@@ -0,0 +1,26 @@
-+# REQUIRES: x86
-+## Test that RELR relocations added when unrelaxing GOTPCREL relocations
-+## during layout optimization (relaxOnce) are included in .relr.dyn.
-+## .quad foo ensures .relr.dyn is not removed before unrelaxing.
-+
-+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
-+# RUN: ld.lld -pie --pack-dyn-relocs=relr --section-start=.text=0x10000 --section-start=.got=0x20000 --section-start=.data=0x100000000 %t.o -o %t
-+# RUN: llvm-readobj -r %t | FileCheck %s
-+
-+# CHECK:      Relocations [
-+# CHECK-NEXT:   Section ({{.*}}) .relr.dyn {
-+# CHECK-NEXT:     0x20000 R_X86_64_RELATIVE -
-+# CHECK-NEXT:     0x100000000 R_X86_64_RELATIVE -
-+# CHECK-NEXT:   }
-+# CHECK-NEXT: ]
-+
-+.text
-+.globl _start
-+_start:
-+  movq foo@GOTPCREL(%rip), %rax
-+
-+.section .data,"aw",@progbits
-+.align 8
-+.globl foo
-+foo:
-+  .quad foo

diff --git a/llvm.spec b/llvm.spec
index 1863304..aa47abb 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -2,7 +2,7 @@
 #region version
 %global maj_ver 23
 %global min_ver 1
-%global patch_ver 2
+%global patch_ver 3
 #global rc_ver rc3
 
 %bcond_with snapshot_build
@@ -587,7 +587,6 @@ Patch106: 0001-19-Always-build-shared-libs-for-LLD.patch
 Patch2214: 0001-ELF-Simplify-AArch64-relocateAlloc.-NFC.patch
 Patch2215: 0001-LLD-AArch64-Make-adrp-ldr-relaxation-per-symbol-all-.patch
 Patch2216: 0001-lld-ELF-Concatenate-.gnu.build.attributes.-sections-.patch
-Patch2304: 224946.patch
 #endregion LLD patches
 
 #region polly patches

diff --git a/sources b/sources
index 3b9e9bc..beb9c03 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (llvm-project-23.1.2.src.tar.xz) = 91174e69ea787034f8a6b17120aae5f139204e13292119d1b066b4930dcea586c76b82228d3db281d8d4211384c7cb74c6b61fdef41b39d310908a8c7cf080cc
-SHA512 (llvm-project-23.1.2.src.tar.xz.sig) = fe76751211cfb1a56935f0e6fd9536309eb02111acb3f32f4badf7e45e6f0283125cf2ece00baa420afc488667c7e1fbb06f0567aa33ff9459f41281cb25e10c
-SHA512 (llvm_man_pages-23.1.2.tar.xz) = 82998efa7899eafedf69d7dfbeaf3a16dbd5ebac8977cc10a96c7bd66691720d55e7d2237f8b7bb5921a935a372400f1d9da2e7fa5519294b5f54d72afcd1eef
-SHA512 (llvm_man_pages-23.1.2.tar.xz.sig) = 9c3fd8e468f28f5314cc243209c94e1e37e57f5041669295ee0667fd47ddcd2e80c86f7c0b8247255afb083e1878417ca072e1b0badc1ffad759e558aced7f29
+SHA512 (llvm-project-23.1.3.src.tar.xz) = eb76f37804564a2595ca8de4864e96cf13c0a3f07922f6bce4d11771547525785c0fde54457aadf7aa1bcaac496475f1dde00e1b152c1df560669c6e3e1318bf
+SHA512 (llvm-project-23.1.3.src.tar.xz.sig) = 7eabfb513a5516cab7d2d366117abd36bdb9d1a50e8ab0b21991d8143222e965ac53dbbacc80c8977ed8aaee57b480b7fdbdae0ba847f62c031da69989d34d2d
+SHA512 (llvm_man_pages-23.1.3.tar.xz) = ceff8be4b758d0140afd01432908f50e77e87948c82ce06da8f025d3fa45b4479d390c0323b6ad117b75014db65951bdf55aab2e5b19e77a93b041dc0d405f73
+SHA512 (llvm_man_pages-23.1.3.tar.xz.sig) = f93be249f517d709d7e5bfb69ec0a04b7f09aa0f769ef190f4de3864142dcebbaf9907497de7226cb27fb0e3f0f2415c6a63010690baa76c5e1e7ba48729220f

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-05 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 15:46 [rpms/llvm] f45: Update to 23.1.3 
  -- strict thread matches above, loose matches on Subject: below --
2026-10-08  4:36 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox