public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binutils] rawhide: Rebase to commit 48997323b0f
@ 2026-06-05 8:02 Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2026-06-05 8:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/binutils
Branch : rawhide
Commit : c546fe6976f0704dc53b975c6fd2ff59f819a84e
Author : Nick Clifton <nickc@redhat.com>
Date : 2026-06-05T09:02:36+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/binutils/c/c546fe6976f0704dc53b975c6fd2ff59f819a84e?branch=rawhide
Log:
Rebase to commit 48997323b0f
---
diff --git a/sources b/sources
index 15d685a..8fabd5d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (binutils-with-gold-2.46.50-2ea3f3a7ac2.tar.xz) = 23b61c10c53bce81bef0500c8e53efdf5dd3dd7e2456ab745cfa9513a30c84e6b6f722e00fec4a08abd70b6a9dc88d696b0ce5711ea1e378d4bfdfe2daeb2955
+SHA512 (binutils-with-gold-2.46.50-48997323b0f.tar.xz) = 5aa0bb70d61d70fb30565c42b770841ce9de65c9bb635f427e53762941dcc659ccfec9a227952745754b5bf8519b51d50df9f6ac051176c635bdbf429d7bc284
SHA512 (binutils-2.19.50.0.1-output-format.sed) = 2f8686b0c8af13c98cda056824c2820416f6e2d003f70b78ccf5314525b9ee3684d421dfa83e638a2d42d06ea4d4bdaf5226b64d6ec26f7ff59c44ffb2a23dd2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/binutils] rawhide: Rebase to commit 48997323b0f
@ 2026-06-05 8:02 Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2026-06-05 8:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/binutils
Branch : rawhide
Commit : 0608389263e66c7f74acb5bf7ac036ac1f76345b
Author : Nick Clifton <nickc@redhat.com>
Date : 2026-06-05T08:59:45+01:00
Stats : +168/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/binutils/c/0608389263e66c7f74acb5bf7ac036ac1f76345b?branch=rawhide
Log:
Rebase to commit 48997323b0f
---
diff --git a/binutils-aarch64-ifuncs.patch b/binutils-aarch64-ifuncs.patch
new file mode 100644
index 0000000..55bd99a
--- /dev/null
+++ b/binutils-aarch64-ifuncs.patch
@@ -0,0 +1,159 @@
+--- binutils.orig/bfd/elfnn-aarch64.c 2026-04-17 09:16:32.707242517 +0100
++++ binutils-with-gold-2.46.50-48997323b0f/bfd/elfnn-aarch64.c 2026-06-04 12:50:40.994231960 +0100
+@@ -5392,9 +5392,11 @@ aarch64_tls_transition (bfd *input_bfd,
+ static bfd_vma
+ dtpoff_base (struct bfd_link_info *info)
+ {
++ asection * tls = elf_hash_table (info)->tls_sec;
++
+ /* If tls_sec is NULL, we should have signalled an error already. */
+- BFD_ASSERT (elf_hash_table (info)->tls_sec != NULL);
+- return elf_hash_table (info)->tls_sec->vma;
++ BFD_ASSERT (tls != NULL);
++ return tls->vma;
+ }
+
+ /* Return the base VMA address which should be subtracted from real addresses
+@@ -5403,14 +5405,13 @@ dtpoff_base (struct bfd_link_info *info)
+ static bfd_vma
+ tpoff_base (struct bfd_link_info *info)
+ {
+- struct elf_link_hash_table *htab = elf_hash_table (info);
+-
++ asection * tls = elf_hash_table (info)->tls_sec;
++
+ /* If tls_sec is NULL, we should have signalled an error already. */
+- BFD_ASSERT (htab->tls_sec != NULL);
++ BFD_ASSERT (tls != NULL);
+
+- bfd_vma base = align_power ((bfd_vma) TCB_SIZE,
+- htab->tls_sec->alignment_power);
+- return htab->tls_sec->vma - base;
++ bfd_vma base = align_power ((bfd_vma) TCB_SIZE, tls->alignment_power);
++ return tls->vma - base;
+ }
+
+ static bfd_vma *
+@@ -6497,7 +6498,7 @@ elfNN_aarch64_final_link_relocate (reloc
+ break;
+
+ case BFD_RELOC_AARCH64_TLS_DTPREL:
+- if (input_section->flags & SEC_ALLOC)
++ if (input_section->flags & SEC_ALLOC || elf_hash_table (info)->tls_sec == NULL)
+ return bfd_reloc_notsupported;
+ value -= dtpoff_base (info);
+ value += rel->r_addend;
+@@ -7272,6 +7273,17 @@ elfNN_aarch64_relocate_section (bfd *out
+ }
+ else if (indx == 0)
+ {
++ if (elf_hash_table (info)->tls_sec == NULL)
++ {
++ _bfd_error_handler
++ /* xgettext:c-format */
++ (_("%pB(%pA+%#" PRIx64 "): "
++ "unresolvable %s relocation against symbol `%s'"),
++ input_bfd, input_section, (uint64_t) rel->r_offset, howto->name,
++ h->root.root.string);
++ return false;
++ }
++
+ bfd_put_NN (output_bfd,
+ relocation - dtpoff_base (info),
+ globals->root.sgot->contents + off
+@@ -7301,6 +7313,17 @@ elfNN_aarch64_relocate_section (bfd *out
+ }
+ else
+ {
++ if (elf_hash_table (info)->tls_sec == NULL)
++ {
++ _bfd_error_handler
++ /* xgettext:c-format */
++ (_("%pB(%pA+%#" PRIx64 "): "
++ "unresolvable %s relocation against symbol `%s'"),
++ input_bfd, input_section, (uint64_t) rel->r_offset, howto->name,
++ h->root.root.string);
++ return false;
++ }
++
+ bfd_put_NN (output_bfd, (bfd_vma) 1,
+ globals->root.sgot->contents + off);
+ bfd_put_NN (output_bfd,
+@@ -7342,7 +7365,20 @@ elfNN_aarch64_relocate_section (bfd *out
+ Elf_Internal_Rela rela;
+
+ if (indx == 0)
+- rela.r_addend = relocation - dtpoff_base (info);
++ {
++ if (elf_hash_table (info)->tls_sec == NULL)
++ {
++ _bfd_error_handler
++ /* xgettext:c-format */
++ (_("%pB(%pA+%#" PRIx64 "): "
++ "unresolvable %s relocation against symbol `%s'"),
++ input_bfd, input_section, (uint64_t) rel->r_offset, howto->name,
++ h->root.root.string);
++ return false;
++ }
++
++ rela.r_addend = relocation - dtpoff_base (info);
++ }
+ else
+ rela.r_addend = 0;
+
+@@ -7360,8 +7396,21 @@ elfNN_aarch64_relocate_section (bfd *out
+ globals->root.sgot->contents + off);
+ }
+ else
+- bfd_put_NN (output_bfd, relocation - tpoff_base (info),
+- globals->root.sgot->contents + off);
++ {
++ if (elf_hash_table (info)->tls_sec == NULL)
++ {
++ _bfd_error_handler
++ /* xgettext:c-format */
++ (_("%pB(%pA+%#" PRIx64 "): "
++ "unresolvable %s relocation against symbol `%s'"),
++ input_bfd, input_section, (uint64_t) rel->r_offset, howto->name,
++ h->root.root.string);
++ return false;
++ }
++
++ bfd_put_NN (output_bfd, relocation - tpoff_base (info),
++ globals->root.sgot->contents + off);
++ }
+
+ symbol_got_offset_mark (input_bfd, h, r_symndx);
+ }
+@@ -7399,7 +7448,20 @@ elfNN_aarch64_relocate_section (bfd *out
+ + off + globals->sgotplt_jump_table_size);
+
+ if (indx == 0)
+- rela.r_addend = relocation - dtpoff_base (info);
++ {
++ if (elf_hash_table (info)->tls_sec == NULL)
++ {
++ _bfd_error_handler
++ /* xgettext:c-format */
++ (_("%pB(%pA+%#" PRIx64 "): "
++ "unresolvable %s relocation against symbol `%s'"),
++ input_bfd, input_section, (uint64_t) rel->r_offset, howto->name,
++ h->root.root.string);
++ return false;
++ }
++
++ rela.r_addend = relocation - dtpoff_base (info);
++ }
+
+ /* Allocate the next available slot in the PLT reloc
+ section to hold our R_AARCH64_TLSDESC, the next
+--- binutils.orig/ld/testsuite/ld-elf/tls.exp 2026-06-04 15:04:55.967170259 +0100
++++ binutils-with-gold-2.46.50-48997323b0f/ld/testsuite/ld-elf/tls.exp 2026-06-04 15:08:11.936031107 +0100
+@@ -66,6 +66,7 @@ run_ld_link_tests [list \
+ ] \
+ ]
+
++setup_xfail "aarch64-*-*"
+ run_cc_link_tests [list \
+ [list \
+ "pr34165" \
diff --git a/binutils.spec b/binutils.spec
index f54b148..4d254d9 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -7,7 +7,7 @@ Name: binutils%{?_with_debug:-debug}
# The variable %%{source} (see below) should be set to indicate which of these
# origins is being used.
Version: 2.46.50
-Release: 9%{?dist}
+Release: 10%{?dist}
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@@ -133,7 +133,7 @@ URL: https://sourceware.org/binutils
# correctly. Note %%(echo) is used because you cannot directly set a
# spec variable to a hexadecimal string value.
-%define commit_id %(echo "2ea3f3a7ac2")
+%define commit_id %(echo "48997323b0f")
#----End of Configure Options------------------------------------------------
@@ -348,6 +348,10 @@ Patch19: binutils-gold-empty-dwp.patch
# Lifetime: Permanent.
Patch20: binutils-ld-default-z-text.patch
+# Purpose: AArch64: Always process IFUNCS as such even if not in an allocated section.
+# Lifetime: Fixed soon.
+Patch21: binutils-aarch64-ifuncs.patch
+
#----------------------------------------------------------------------------
# Purpose: Remove the Build protected-func-2 without PIE linker tests
@@ -1507,6 +1511,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
+* Thu Jun 04 2026 Nick Clifton <nickc@redhat.com> - 2.46.50-10
+- Rebase to commit 48997323b0f
+
* Thu May 14 2026 Nick Clifton <nickc@redhat.com> - 2.46.50-9
- Rebase to commit 2ea3f3a7ac2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-05 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05 8:02 [rpms/binutils] rawhide: Rebase to commit 48997323b0f Nick Clifton
2026-06-05 8:02 Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox