public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binutils] rawhide: another try..
@ 2026-11-10 10:01 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2026-11-10 10:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/binutils
Branch : rawhide
Commit : 161a9457bf0b1d6d042f92f66ab51e5b0a9810fc
Author : Nick Clifton <nickc@redhat.com>
Date   : 2026-11-10T10:01:12+00:00
Stats  : +16/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/binutils/c/161a9457bf0b1d6d042f92f66ab51e5b0a9810fc?branch=rawhide

Log:
another try..

---
diff --git a/binutils-hide-global-symbols.patch b/binutils-hide-global-symbols.patch
index 5df00de..9776d94 100644
--- a/binutils-hide-global-symbols.patch
+++ b/binutils-hide-global-symbols.patch
@@ -12,3 +12,15 @@ diff -rup orig/bfd/bfd.c binutils-with-gold-2.47.50-86187fd72fd/bfd/bfd.c
  
  /* Free any data associated with the BFD error.  */
  
+diff -rup orig/bfd/bfd.c binutils-with-gold-2.47.50-86187fd72fd/bfd/bfd.c
+--- orig/bfd/bfd.c	2026-11-10 09:07:31.056699912 +0000
++++ binutils-with-gold-2.47.50-86187fd72fd/bfd/bfd.c	2026-11-10 09:08:14.146312472 +0000
+@@ -1732,7 +1732,7 @@ _bfd_per_xvec_warn (struct per_xvec_mess
+    error_handler_sprintf; when NULL, _bfd_error_internal will be used
+    instead.  */
+ 
+-static THREAD_LOCAL struct per_xvec_messages *error_handler_messages;
++static struct per_xvec_messages *error_handler_messages ATTRIBUTE_HIDDEN;
+ 
+ /* A special value for error_handler_messages that indicates that the
+    error should simply be ignored.  */

diff --git a/binutils.spec b/binutils.spec
index cc70f31..b0e821c 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.47.50
-Release: 27%{?dist}
+Release: 28%{?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
 
@@ -1842,6 +1842,9 @@ exit 0
 
 #----------------------------------------------------------------------------
 %changelog
+* Tue Nov 10 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-28
+- Yet another attempt to remove global static variables from libbfd.so.  (#2564442)
+
 * Mon Nov 09 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-27
 - Yet another attempt to remove global static variables from libbfd.so.  (#2564442)
 

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

* [rpms/binutils] rawhide: another try..
@ 2026-11-10 16:07 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2026-11-10 16:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/binutils
Branch : rawhide
Commit : 477b633f9bc53b6efd44395c38e730e80a4f566b
Author : Nick Clifton <nickc@redhat.com>
Date   : 2026-11-10T16:06:50+00:00
Stats  : +24/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/binutils/c/477b633f9bc53b6efd44395c38e730e80a4f566b?branch=rawhide

Log:
another try..

---
diff --git a/binutils-hide-global-symbols.patch b/binutils-hide-global-symbols.patch
index 9776d94..a0dd4d2 100644
--- a/binutils-hide-global-symbols.patch
+++ b/binutils-hide-global-symbols.patch
@@ -24,3 +24,23 @@ diff -rup orig/bfd/bfd.c binutils-with-gold-2.47.50-86187fd72fd/bfd/bfd.c
  
  /* A special value for error_handler_messages that indicates that the
     error should simply be ignored.  */
+diff -rup orig/bfd/syms.c binutils-with-gold-2.47.50-86187fd72fd/bfd/syms.c
+--- orig/bfd/syms.c	2026-11-10 09:08:42.394913499 +0000
++++ binutils-with-gold-2.47.50-86187fd72fd/bfd/syms.c	2026-11-10 15:35:14.279642378 +0000
+@@ -349,7 +349,7 @@ EXTERNAL
+ .   symbol name, even unnamed local symbols which will also have empty
+ .   string names.  This can be used to flag a symbol as corrupt if its
+ .   name uses an out of range string table index.  *}
+-.extern const char bfd_symbol_error_name[];
++.extern const char bfd_symbol_error_name[] ATTRIBUTE_HIDDEN;
+ */
+ 
+ #include "sysdep.h"
+@@ -359,6 +359,7 @@ EXTERNAL
+ #include "bfdlink.h"
+ #include "aout/stab_gnu.h"
+ 
++extern const char bfd_symbol_error_name[] ATTRIBUTE_HIDDEN;
+ const char bfd_symbol_error_name[] = { 0 };
+ 
+ /*

diff --git a/binutils.spec b/binutils.spec
index b0e821c..6e107c9 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.47.50
-Release: 28%{?dist}
+Release: 29%{?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
 
@@ -1842,6 +1842,9 @@ exit 0
 
 #----------------------------------------------------------------------------
 %changelog
+* Tue Nov 10 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-29
+- Yet another attempt to remove global static variables from libbfd.so.  (#2564442)
+
 * Tue Nov 10 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-28
 - Yet another attempt to remove global static variables from libbfd.so.  (#2564442)
 

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

end of thread, other threads:[~2026-11-10 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 10:01 [rpms/binutils] rawhide: another try Nick Clifton
2026-11-10 16:07 Nick Clifton

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