[packages/binutils] up to 2.37

atler atler at pld-linux.org
Sun Jul 18 22:38:32 CEST 2021


commit d7e1759223ee5a7ae80c5c7cb41f83e728d47e4f
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jul 18 22:36:34 2021 +0200

    up to 2.37
    
    - drop build-id patch (taken from fedora where it was dropped back in
      2012)

 binutils-build-id.patch     | 20 --------------------
 binutils-gasp.patch         | 16 ++++++++--------
 binutils-sanity-check.patch |  4 ++--
 binutils-tooldir.patch      |  4 ++--
 binutils.spec               |  7 ++-----
 5 files changed, 14 insertions(+), 37 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 845f044..e1881e1 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -27,13 +27,13 @@ Summary(ru.UTF-8):	Набор инструментов GNU для построе
 Summary(tr.UTF-8):	GNU geliştirme araçları
 Summary(uk.UTF-8):	Набір інструментів GNU для побудови виконуваних програм
 Name:		binutils
-Version:	2.36.1
+Version:	2.37
 Release:	1
 Epoch:		4
 License:	GPL v3+
 Group:		Development/Tools
 Source0:	https://ftp.gnu.org/gnu/binutils/%{name}-%{version}.tar.lz
-# Source0-md5:	c5b19413fba1faa491ae884ce7f3129f
+# Source0-md5:	a030c64f442d224aa3baa04a11f8cf34
 Source1:	http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5:	a717d9707ec77d82acb6ec9078c472d6
 Patch0:		%{name}-gasp.patch
@@ -43,7 +43,6 @@ Patch3:		%{name}-pt_pax_flags.patch
 
 Patch6:		%{name}-absolute-gnu_debuglink-path.patch
 Patch7:		%{name}-libtool-m.patch
-Patch8:		%{name}-build-id.patch
 Patch9:		%{name}-tooldir.patch
 Patch10:	%{name}-sanity-check.patch
 Patch11:	binutils-CVE-2019-1010204.patch
@@ -171,7 +170,6 @@ niektórych pakietów.
 
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
@@ -393,7 +391,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libiberty.a
 %{_includedir}/ansidecl.h
 %{_includedir}/bfd.h
-%{_includedir}/bfd_stdint.h
 %{_includedir}/bfdlink.h
 %{_includedir}/ctf-api.h
 %{_includedir}/ctf.h
diff --git a/binutils-build-id.patch b/binutils-build-id.patch
deleted file mode 100644
index eb36832..0000000
--- a/binutils-build-id.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- binutils-2.28/bfd/compress.c.orig	2017-03-02 09:23:53.000000000 +0100
-+++ binutils-2.28/bfd/compress.c	2017-06-06 05:39:38.755628152 +0200
-@@ -290,7 +290,7 @@ bfd_get_full_section_contents (bfd *abfd
- 	goto fail_compressed;
- 
-       if (p == NULL)
--	p = (bfd_byte *) bfd_malloc (sz);
-+	p = (bfd_byte *) bfd_zmalloc (sz);
-       if (p == NULL)
- 	goto fail_compressed;
- 
-@@ -319,7 +319,7 @@ bfd_get_full_section_contents (bfd *abfd
- 	return FALSE;
-       if (p == NULL)
- 	{
--	  p = (bfd_byte *) bfd_malloc (sz);
-+	  p = (bfd_byte *) bfd_zmalloc (sz);
- 	  if (p == NULL)
- 	    return FALSE;
- 	  *ptr = p;
diff --git a/binutils-gasp.patch b/binutils-gasp.patch
index af255a1..c8d9ff8 100644
--- a/binutils-gasp.patch
+++ b/binutils-gasp.patch
@@ -20,8 +20,8 @@
  EXTRA_SCRIPTS = .gdbinit
  
 @@ -517,6 +518,10 @@
- 	as.h asintl.h bignum.h bit_fix.h config.h emul.h expr.h flonum.h \
- 	frags.h hash.h listing.h obj.h read.h symbols.h tc.h write.h
+ 	$(OBJ_FORMAT_CFILES) $(OBJ_FORMAT_HFILES) \
+ 	$(CONFIG_ATOF_CFILES) $(MULTI_CFILES)
  
 +gasp_new_SOURCES = gasp.c macro.c sb.c hash.c
 +gasp_new_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL)
@@ -31,15 +31,15 @@
  RUNTEST = runtest
  RUNTESTFLAGS=
 @@ -682,6 +682,9 @@
- itbl-lex.o: itbl-lex.c itbl-parse.h $(srcdir)/itbl-lex.h
- 	$(COMPILE) -c $< $(NO_WERROR)
+ 
+ itbl-lex-wrapper. at OBJEXT@: itbl-lex.c itbl-parse.h
  
 +gasp.o:gasp.c $(INCDIR)/getopt.h $(INCDIR)/safe-ctype.h \
 +	as.h sb.h macro.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
 +
- # Disable -Werror, if it has been enabled, since old versions of bison/
- # yacc will produce working code which contain compile time warnings.
- itbl-parse.o: itbl-parse.c itbl-parse.h $(srcdir)/itbl-ops.h $(srcdir)/itbl-lex.h
+ itbl-parse.c: $(srcdir)/itbl-parse.y
+ 	$(SHELL) $(YLWRAP) $(srcdir)/itbl-parse.y y.tab.c $@ y.tab.h itbl-parse.h -- $(YACCCOMPILE) -d
+ 
 --- binutils-2.23.51.0.9/gas/doc/Makefile.am.orig	2013-02-02 00:24:54.000000000 +0100
 +++ binutils-2.23.51.0.9/gas/doc/Makefile.am	2013-02-04 21:03:53.135274636 +0100
 @@ -32,7 +32,7 @@ POD2MAN = pod2man --center="GNU Developm
@@ -5661,7 +5661,7 @@
  	    idx = get_any_string (idx, in, &f.actual);
 @@ -1351,7 +1369,7 @@
  		    in_quotes = ! in_quotes;
- 	  
+ 
  		  nxt = sb_skip_white (idx + 1, in);
 -		  if (nxt >= in->len)
 +		  if (nxt >= in->len || in->ptr[nxt] == comment_char)
diff --git a/binutils-sanity-check.patch b/binutils-sanity-check.patch
index 77d48ac..479871d 100644
--- a/binutils-sanity-check.patch
+++ b/binutils-sanity-check.patch
@@ -13,8 +13,8 @@
  extern "C" {
  #endif
 @@ -39,6 +39,7 @@
- #include "ansidecl.h"
- #include "symcat.h"
+ #include <stdarg.h>
+ #include <string.h>
  #include <sys/stat.h>
 +#include <stddef.h>
  
diff --git a/binutils-tooldir.patch b/binutils-tooldir.patch
index bc5d760..a0321f0 100644
--- a/binutils-tooldir.patch
+++ b/binutils-tooldir.patch
@@ -6,8 +6,8 @@
  m4_include(config/acx.m4)
 -m4_include(config/override.m4)
  m4_include(config/proginstall.m4)
- 
- AC_INIT(move-if-change)
+ m4_include(config/elf.m4)
+ m4_include(config/gcc-plugin.m4)
 @@ -2113,7 +2112,11 @@
  
  # Some systems (e.g., one of the i386-aix systems the gas testers are
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/binutils.git/commitdiff/d7e1759223ee5a7ae80c5c7cb41f83e728d47e4f



More information about the pld-cvs-commit mailing list