diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | binutils-install-libiberty.patch | 20 | ||||
-rw-r--r-- | cygwin-libbfd.spec | 17 | ||||
-rw-r--r-- | sources | 2 | ||||
-rw-r--r-- | x86-64-pc32-relocs.patch | 51 |
5 files changed, 11 insertions, 80 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..281ba04 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/binutils-2.25.1.tar.bz2 diff --git a/binutils-install-libiberty.patch b/binutils-install-libiberty.patch deleted file mode 100644 index 00d5bf5..0000000 --- a/binutils-install-libiberty.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- origsrc/binutils-2.23.52/libiberty/configure 2013-05-31 20:01:43.000000000 -0500 -+++ src/binutils-2.23.52/libiberty/configure 2013-06-04 15:06:17.325761100 -0500 -@@ -5507,7 +5507,6 @@ fi - - setobjs= - CHECK= --target_header_dir= - if test -n "${with_target_subdir}"; then - - # We are being configured as a target library. AC_REPLACE_FUNCS ---- origsrc/binutils-2.23.52/libiberty/configure.ac 2013-05-31 20:01:44.000000000 -0500 -+++ src/binutils-2.23.52/libiberty/configure.ac 2013-06-04 15:03:44.852040100 -0500 -@@ -405,7 +405,6 @@ fi - - setobjs= - CHECK= --target_header_dir= - if test -n "${with_target_subdir}"; then - - # We are being configured as a target library. AC_REPLACE_FUNCS diff --git a/cygwin-libbfd.spec b/cygwin-libbfd.spec index d1c1f7d..ab84447 100644 --- a/cygwin-libbfd.spec +++ b/cygwin-libbfd.spec @@ -1,8 +1,8 @@ -%{cygwin_package_header} +%{?cygwin_package_header} Name: cygwin-libbfd -Version: 2.23.52 -Release: 1 +Version: 2.25.1 +Release: 1%{?dist} Summary: Cygwin BFD and opcodes libraries License: GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+ @@ -10,9 +10,7 @@ Group: Development/Libraries URL: http://www.gnu.org/software/binutils/ BuildArch: noarch -Source0: ftp://sourceware.org/pub/binutils/snapshots/binutils-%{version}.tar.bz2 -Patch0: x86-64-pc32-relocs.patch -Patch1: binutils-install-libiberty.patch +Source0: http://ftpmirror.gnu.org/binutils/binutils-%{version}.tar.bz2 BuildRequires: flex BuildRequires: bison @@ -67,8 +65,6 @@ unstable to be used dynamically. %prep %setup -q -n binutils-%{version} -%patch0 -p0 -%patch1 -p2 %build @@ -99,6 +95,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %{cygwin32_includedir}/bfd.h %{cygwin32_includedir}/bfdlink.h %{cygwin32_includedir}/dis-asm.h +%{cygwin32_includedir}/plugin-api.h %{cygwin32_includedir}/symcat.h %{cygwin32_includedir}/libiberty/ %{cygwin32_libdir}/libbfd.a @@ -110,6 +107,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %{cygwin64_includedir}/bfd.h %{cygwin64_includedir}/bfdlink.h %{cygwin64_includedir}/dis-asm.h +%{cygwin64_includedir}/plugin-api.h %{cygwin64_includedir}/symcat.h %{cygwin64_includedir}/libiberty/ %{cygwin64_libdir}/libbfd.a @@ -118,6 +116,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %changelog +* Mon Sep 12 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 2.25.1-1 +- new version + * Sun Jun 30 2013 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 2.23.52-1 - Version bump. - Adapt to new Cygwin packaging scheme. @@ -1 +1 @@ -fb35fd0dab0cd61e6a4192ee07f7be26 binutils-2.23.52.tar.bz2 +ac493a78de4fee895961d025b7905be4 binutils-2.25.1.tar.bz2 diff --git a/x86-64-pc32-relocs.patch b/x86-64-pc32-relocs.patch deleted file mode 100644 index 53da6aa..0000000 --- a/x86-64-pc32-relocs.patch +++ /dev/null @@ -1,51 +0,0 @@ -Index: bfd/cofflink.c -=================================================================== -RCS file: /cvs/src/src/bfd/cofflink.c,v -retrieving revision 1.84 -diff -c -p -r1.84 cofflink.c -*** bfd/cofflink.c 10 Jan 2013 20:03:52 -0000 1.84 ---- bfd/cofflink.c 4 Jun 2013 12:03:23 -0000 -*************** _bfd_coff_generic_relocate_section (bfd -*** 3060,3065 **** ---- 3060,3070 ---- - else - { - sec = sections[symndx]; -+ -+ /* If the output section has been discarded then ignore this reloc. */ -+ if (sec->output_section->vma == 0) -+ continue; -+ - val = (sec->output_section->vma - + sec->output_offset - + sym->n_value); -*************** _bfd_coff_generic_relocate_section (bfd -*** 3080,3086 **** - + sec->output_section->vma - + sec->output_offset); - } -- - else if (h->root.type == bfd_link_hash_undefweak) - { - if (h->symbol_class == C_NT_WEAK && h->numaux == 1) ---- 3085,3090 ---- -*************** _bfd_coff_generic_relocate_section (bfd -*** 3116,3122 **** - /* This is a GNU extension. */ - val = 0; - } -- - else if (! info->relocatable) - { - if (! ((*info->callbacks->undefined_symbol) ---- 3120,3125 ---- -*************** _bfd_coff_generic_relocate_section (bfd -*** 3183,3189 **** - if (name == NULL) - return FALSE; - } -- - if (! ((*info->callbacks->reloc_overflow) - (info, (h ? &h->root : NULL), name, howto->name, - (bfd_vma) 0, input_bfd, input_section, ---- 3186,3191 ---- |