+++ /dev/null
---- 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;
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)
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.@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
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)
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>
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
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
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
%patch6 -p1
%patch7 -p1
-%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%{_libdir}/libiberty.a
%{_includedir}/ansidecl.h
%{_includedir}/bfd.h
-%{_includedir}/bfd_stdint.h
%{_includedir}/bfdlink.h
%{_includedir}/ctf-api.h
%{_includedir}/ctf.h