[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.22-ld-13621.patch)

Allan McRae allan at archlinux.org
Wed May 2 13:52:00 UTC 2012


    Date: Wednesday, May 2, 2012 @ 09:52:00
  Author: allan
Revision: 158074

upgpkg: binutils 2.22-7

remove patch that causes kernel issues on i686

Modified:
  binutils/trunk/PKGBUILD
Deleted:
  binutils/trunk/binutils-2.22-ld-13621.patch

------------------------------+
 PKGBUILD                     |   12 +++---------
 binutils-2.22-ld-13621.patch |   27 ---------------------------
 2 files changed, 3 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-02 12:16:04 UTC (rev 158073)
+++ PKGBUILD	2012-05-02 13:52:00 UTC (rev 158074)
@@ -5,7 +5,7 @@
 
 pkgname=binutils
 pkgver=2.22
-pkgrel=6
+pkgrel=7
 _date=20120323
 pkgdesc="A set of programs to assemble and manipulate binary and object files"
 arch=('i686' 'x86_64')
@@ -16,10 +16,8 @@
 checkdepends=('dejagnu')
 options=('!libtool' '!distcc' '!ccache')
 install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2
-        binutils-2.22-ld-13621.patch)
-md5sums=('de2ac4298732827f8af706fc24020330'
-         '86d9445914c9d51bfe575ecbac265be0')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
+md5sums=('de2ac4298732827f8af706fc24020330')
 
 mksource() {
   mkdir ${pkgname}-${_date}
@@ -32,10 +30,6 @@
 }
 
 build() {
-  cd ${srcdir}/binutils
-  # http://sourceware.org/bugzilla/show_bug.cgi?id=13621
-  patch -p1 -i $srcdir/binutils-2.22-ld-13621.patch
-
   cd ${srcdir}
   mkdir binutils-build && cd binutils-build
 

Deleted: binutils-2.22-ld-13621.patch
===================================================================
--- binutils-2.22-ld-13621.patch	2012-05-02 12:16:04 UTC (rev 158073)
+++ binutils-2.22-ld-13621.patch	2012-05-02 13:52:00 UTC (rev 158074)
@@ -1,27 +0,0 @@
-diff --git a/bfd/linker.c b/bfd/linker.c
-index c51c5df..0404474 100644
---- a/bfd/linker.c
-+++ b/bfd/linker.c
-@@ -3208,6 +3208,12 @@ fix_syms (struct bfd_link_hash_entry *h, void *data)
- 		op = op1;
- 	    }
- 
-+	  /* Refuse to choose a section for which we are out of bounds.  */
-+	  /* ??? This may make most of the above moot.  */
-+	  if (h->u.def.value < op->vma
-+	      || h->u.def.value > op->vma + op->size)
-+	    op = bfd_abs_section_ptr;
-+
- 	  h->u.def.value -= op->vma;
- 	  h->u.def.section = op;
- 	}
-index 95b7ef4..a9c05f9 100644
---- a/ld/testsuite/ld-elf/warn2.d
-+++ b/ld/testsuite/ld-elf/warn2.d
-@@ -13,5 +13,5 @@
- # construct and that the symbol still appears as expected.
- 
- #...
-- +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
-+ +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +ABS Foo
- #pass




More information about the arch-commits mailing list