From 58c0ae4ce66844d41da44ff9a781f4729fcd12ad Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Feb 01 2023 10:25:36 +0000 Subject: updated to 2.40 --- diff --git a/.gitignore b/.gitignore index 4f02f86..16b6f90 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /binutils-2.37.tar.xz /binutils-2.38.tar.xz /binutils-2.39.tar.xz +/binutils-2.40.tar.xz diff --git a/arm-none-eabi-binutils-cs.spec b/arm-none-eabi-binutils-cs.spec index a161678..46ca8d8 100644 --- a/arm-none-eabi-binutils-cs.spec +++ b/arm-none-eabi-binutils-cs.spec @@ -3,8 +3,8 @@ Name: %{target}-binutils-cs Epoch: 1 -Version: 2.39 -Release: 3%{?dist} +Version: 2.40 +Release: 1%{?dist} Summary: GNU Binutils for cross-compilation for %{target} target # Most of the sources are licensed under GPLv3+ with these exceptions: # LGPLv2+ bfd/hosts/x86-64linux.h, include/demangle.h, include/xregex2.h, @@ -17,7 +17,6 @@ URL: http://www.codesourcery.com/sgpp/lite/%{processor_arch} Source0: https://ftp.gnu.org/pub/gnu/binutils/binutils-%{version}.tar.xz Source1: README.fedora -Patch1: binutils-libiberty-configure-compile-warnings.patch BuildRequires: gcc flex bison ppl-devel cloog BuildRequires: autoconf BuildRequires: texinfo texinfo-tex perl-podlators @@ -103,6 +102,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.a $RPM_BUILD_ROOT%{_libdir}/bfd-plugins/lib %changelog +* Wed Feb 01 2023 Michal Hlavinka - 1:2.40-1 +- updated to 2.40 + * Wed Jan 18 2023 Fedora Release Engineering - 1:2.39-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/binutils-libiberty-configure-compile-warnings.patch b/binutils-libiberty-configure-compile-warnings.patch deleted file mode 100644 index 29ec5fa..0000000 --- a/binutils-libiberty-configure-compile-warnings.patch +++ /dev/null @@ -1,283 +0,0 @@ -diff -rup binutils.orig/libiberty/acinclude.m4 binutils-2.39/libiberty/acinclude.m4 ---- binutils.orig/libiberty/acinclude.m4 2022-11-23 14:41:57.639262100 +0000 -+++ binutils-2.39/libiberty/acinclude.m4 2022-11-23 14:43:07.139042148 +0000 -@@ -24,6 +24,8 @@ AC_CACHE_CHECK([for working strncmp], ac - [AC_TRY_RUN([ - /* Test by Jim Wilson and Kaveh Ghazi. - Check whether strncmp reads past the end of its string parameters. */ -+#include -+#include - #include - - #ifdef HAVE_FCNTL_H -@@ -51,7 +53,8 @@ AC_CACHE_CHECK([for working strncmp], ac - - #define MAP_LEN 0x10000 - --main () -+int -+main (void) - { - #if defined(HAVE_MMAP) || defined(HAVE_MMAP_ANYWHERE) - char *p; -@@ -157,7 +160,10 @@ if test $ac_cv_os_cray = yes; then - fi - - AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction, --[AC_TRY_RUN([find_stack_direction () -+[AC_TRY_RUN([#include -+ -+int -+find_stack_direction (void) - { - static char *addr = 0; - auto char dummy; -@@ -169,7 +175,9 @@ AC_CACHE_CHECK(stack direction for C all - else - return (&dummy > addr) ? 1 : -1; - } --main () -+ -+int -+main (void) - { - exit (find_stack_direction() < 0); - }], -diff -rup binutils.orig/libiberty/configure binutils-2.39/libiberty/configure ---- binutils.orig/libiberty/configure 2022-11-23 14:41:57.652262059 +0000 -+++ binutils-2.39/libiberty/configure 2022-11-23 14:46:31.556395168 +0000 -@@ -1766,7 +1766,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - static int test_array [1 - 2 * !(($2) >= 0)]; - test_array [0] = 0; -@@ -1783,7 +1783,7 @@ if ac_fn_c_try_compile "$LINENO"; then : - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - static int test_array [1 - 2 * !(($2) <= $ac_mid)]; - test_array [0] = 0; -@@ -1810,7 +1810,7 @@ else - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - static int test_array [1 - 2 * !(($2) < 0)]; - test_array [0] = 0; -@@ -1827,7 +1827,7 @@ if ac_fn_c_try_compile "$LINENO"; then : - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - static int test_array [1 - 2 * !(($2) >= $ac_mid)]; - test_array [0] = 0; -@@ -1862,7 +1862,7 @@ while test "x$ac_lo" != "x$ac_hi"; do - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - static int test_array [1 - 2 * !(($2) <= $ac_mid)]; - test_array [0] = 0; -@@ -1892,7 +1892,7 @@ static unsigned long int ulongval () { r - #include - #include - int --main () -+main (void) - { - - FILE *f = fopen ("conftest.val", "w"); -@@ -1952,7 +1952,7 @@ else - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - if (sizeof ($2)) - return 0; -@@ -1965,7 +1965,7 @@ if ac_fn_c_try_compile "$LINENO"; then : - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - if (sizeof (($2))) - return 0; -@@ -2037,7 +2037,7 @@ choke me - #endif - - int --main () -+main (void) - { - return $2 (); - ; -@@ -2077,7 +2077,7 @@ else - /* end confdefs.h. */ - $4 - int --main () -+main (void) - { - #ifndef $as_decl_name - #ifdef __cplusplus -@@ -3459,7 +3459,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ - /* end confdefs.h. */ - #include - int --main () -+main (void) - { - printf ("hello world\n"); - ; -@@ -3487,7 +3487,7 @@ else - /* end confdefs.h. */ - - int --main () -+main (void) - { - - ; -@@ -3627,7 +3627,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ - /* end confdefs.h. */ - #include - int --main () -+main (void) - { - FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; -@@ -3692,7 +3692,7 @@ else - /* end confdefs.h. */ - - int --main () -+main (void) - { - - ; -@@ -3743,7 +3743,7 @@ else - /* end confdefs.h. */ - - int --main () -+main (void) - { - #ifndef __GNUC__ - choke me -@@ -3784,7 +3784,7 @@ else - /* end confdefs.h. */ - - int --main () -+main (void) - { - - ; -@@ -3799,7 +3799,7 @@ else - /* end confdefs.h. */ - - int --main () -+main (void) - { - - ; -@@ -3815,7 +3815,7 @@ else - /* end confdefs.h. */ - - int --main () -+main (void) - { - - ; -@@ -3901,7 +3901,7 @@ int pairnames (int, char **, FILE *(*)(s - int argc; - char **argv; - int --main () -+main (void) - { - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; -@@ -6919,7 +6919,10 @@ else - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --find_stack_direction () -+#include -+ -+int -+find_stack_direction (void) - { - static char *addr = 0; - auto char dummy; -@@ -6931,7 +6934,9 @@ find_stack_direction () - else - return (&dummy > addr) ? 1 : -1; - } --main () -+ -+int -+main (int) - { - exit (find_stack_direction() < 0); - } -@@ -7756,6 +7761,8 @@ else - - /* Test by Jim Wilson and Kaveh Ghazi. - Check whether strncmp reads past the end of its string parameters. */ -+#include -+#include - #include - - #ifdef HAVE_FCNTL_H -@@ -7783,7 +7790,8 @@ else - - #define MAP_LEN 0x10000 - --main () -+int -+main (void) - { - #if defined(HAVE_MMAP) || defined(HAVE_MMAP_ANYWHERE) - char *p; -diff -rup binutils.orig/gas/acinclude.m4 binutils-2.39/gas/acinclude.m4 ---- binutils.orig/gas/acinclude.m4 2022-11-23 14:56:11.793442492 +0000 -+++ binutils-2.39/gas/acinclude.m4 2022-11-23 14:59:17.778057190 +0000 -@@ -23,6 +23,7 @@ AC_DEFUN([GAS_WORKING_ASSERT], - [AC_MSG_CHECKING([for working assert macro]) - AC_CACHE_VAL(gas_cv_assert_ok, - AC_TRY_LINK([#include -+#include - #include ], [ - /* check for requoting problems */ - static int a, b, c, d; -diff -rup binutils.orig/gas/configure binutils-2.39/gas/configure ---- binutils.orig/gas/configure 2022-11-23 14:56:12.402441231 +0000 -+++ binutils-2.39/gas/configure 2022-11-23 14:59:37.266016817 +0000 -@@ -13758,6 +13758,7 @@ else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include -+#include - #include - int - main () diff --git a/sources b/sources index 8c46b8b..d283e3e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (binutils-2.39.tar.xz) = 68e038f339a8c21faa19a57bbc447a51c817f47c2e06d740847c6e9cc3396c025d35d5369fa8c3f8b70414757c89f0e577939ddc0d70f283182504920f53b0a3 +SHA512 (binutils-2.40.tar.xz) = a37e042523bc46494d99d5637c3f3d8f9956d9477b748b3b1f6d7dfbb8d968ed52c932e88a4e946c6f77b8f48f1e1b360ca54c3d298f17193f3b4963472f6925