[arch-commits] Commit in binutils/repos (10 files)

2018-12-26 Thread Anatol Pomozov via arch-commits
Date: Wednesday, December 26, 2018 @ 15:39:43
  Author: anatolik
Revision: 342745

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
(from rev 342744, 
binutils/trunk/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch)
  
binutils/repos/testing-x86_64/0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch
(from rev 342744, 
binutils/trunk/0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch)
  
binutils/repos/testing-x86_64/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch
(from rev 342744, 
binutils/trunk/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch)
  
binutils/repos/testing-x86_64/0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch
(from rev 342744, 
binutils/trunk/0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch)
  
binutils/repos/testing-x86_64/0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
(from rev 342744, 
binutils/trunk/0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch)
  
binutils/repos/testing-x86_64/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
(from rev 342744, 
binutils/trunk/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch)
  
binutils/repos/testing-x86_64/0007-PR23919-Handle-ELF-compressed-header-alignment.patch
(from rev 342744, 
binutils/trunk/0007-PR23919-Handle-ELF-compressed-header-alignment.patch)
  
binutils/repos/testing-x86_64/0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch
(from rev 342744, 
binutils/trunk/0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 342744, binutils/trunk/PKGBUILD)

-+
 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch |  515 

 0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch |  104 
+
 0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch |  141 
++
 0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch|   78 
+
 0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch   |  583 
++
 0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch   |  135 
++
 0007-PR23919-Handle-ELF-compressed-header-alignment.patch   |  316 
+
 0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch   |  187 
+++
 PKGBUILD|  111 
+
 9 files changed, 2170 insertions(+)

Copied: 
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
 (from rev 342744, 
binutils/trunk/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch)
===
--- 
testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
  (rev 0)
+++ 
testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
  2018-12-26 15:39:43 UTC (rev 342745)
@@ -0,0 +1,515 @@
+From f49ffdb448c81035e9ab285720cf74d59df2e111 Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" 
+Date: Fri, 20 Jul 2018 09:18:47 -0700
+Subject: [PATCH] x86: Add a GNU_PROPERTY_X86_ISA_1_USED note if needed
+
+When -z separate-code, which is enabled by default for Linux/x86, is
+used to create executable, ld won't place any data in the code-only
+PT_LOAD segment.  If there are no data sections placed before the
+code-only PT_LOAD segment, the program headers won't be mapped into
+any PT_LOAD segment.  When the executable tries to access it (based
+on the program header address passed in AT_PHDR), it will lead to
+segfault.  This patch inserts a GNU_PROPERTY_X86_ISA_1_USED note if
+there may be no data sections before the text section so that the
+first PT_LOAD segment won't be code-only and will contain the program
+header.
+
+Testcases are adjusted to either pass "-z noseparate-code" to ld or
+discard the .note.gnu.property section.  A Linux/x86 run-time test is
+added.
+
+bfd/
+
+   PR ld/23428
+   * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): If the
+   separate code program header is needed, make sure that the first
+   read-only PT_LOAD segment has no code by adding a
+   GNU_PROPERTY_X86_ISA_1_USED note.
+
+ld/
+
+   PR ld/23428
+   * testsuite/ld-elf/linux-x86.S: New file.
+   * testsuite/ld-elf/linux-x86.exp: Likewise.
+   * testsuite/ld-elf/pr23428.c: Likewise.
+   * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld
+   for Linux/x86 targets.
+   * testsuite/ld-i386/abs-iamcu.d: Likewise.
+   * testsuite/ld-i386/abs.d: Likewise.
+   * testsuite/ld-i386/pr12718.d: Likewi

[arch-commits] Commit in binutils/repos (10 files)

2019-05-23 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, May 23, 2019 @ 11:02:56
  Author: bpiotrowski
Revision: 353905

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
(from rev 353904, 
binutils/trunk/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch)
  
binutils/repos/testing-x86_64/0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch
(from rev 353904, 
binutils/trunk/0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch)
  
binutils/repos/testing-x86_64/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch
(from rev 353904, 
binutils/trunk/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch)
  
binutils/repos/testing-x86_64/0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch
(from rev 353904, 
binutils/trunk/0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch)
  
binutils/repos/testing-x86_64/0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
(from rev 353904, 
binutils/trunk/0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch)
  
binutils/repos/testing-x86_64/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
(from rev 353904, 
binutils/trunk/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch)
  
binutils/repos/testing-x86_64/0007-PR23919-Handle-ELF-compressed-header-alignment.patch
(from rev 353904, 
binutils/trunk/0007-PR23919-Handle-ELF-compressed-header-alignment.patch)
  
binutils/repos/testing-x86_64/0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch
(from rev 353904, 
binutils/trunk/0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 353904, binutils/trunk/PKGBUILD)

-+
 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch |  515 

 0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch |  104 
+
 0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch |  141 
++
 0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch|   78 
+
 0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch   |  583 
++
 0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch   |  135 
++
 0007-PR23919-Handle-ELF-compressed-header-alignment.patch   |  316 
+
 0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch   |  187 
+++
 PKGBUILD|   78 
+
 9 files changed, 2137 insertions(+)

Copied: 
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
 (from rev 353904, 
binutils/trunk/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch)
===
--- 
testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
  (rev 0)
+++ 
testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
  2019-05-23 11:02:56 UTC (rev 353905)
@@ -0,0 +1,515 @@
+From f49ffdb448c81035e9ab285720cf74d59df2e111 Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" 
+Date: Fri, 20 Jul 2018 09:18:47 -0700
+Subject: [PATCH] x86: Add a GNU_PROPERTY_X86_ISA_1_USED note if needed
+
+When -z separate-code, which is enabled by default for Linux/x86, is
+used to create executable, ld won't place any data in the code-only
+PT_LOAD segment.  If there are no data sections placed before the
+code-only PT_LOAD segment, the program headers won't be mapped into
+any PT_LOAD segment.  When the executable tries to access it (based
+on the program header address passed in AT_PHDR), it will lead to
+segfault.  This patch inserts a GNU_PROPERTY_X86_ISA_1_USED note if
+there may be no data sections before the text section so that the
+first PT_LOAD segment won't be code-only and will contain the program
+header.
+
+Testcases are adjusted to either pass "-z noseparate-code" to ld or
+discard the .note.gnu.property section.  A Linux/x86 run-time test is
+added.
+
+bfd/
+
+   PR ld/23428
+   * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): If the
+   separate code program header is needed, make sure that the first
+   read-only PT_LOAD segment has no code by adding a
+   GNU_PROPERTY_X86_ISA_1_USED note.
+
+ld/
+
+   PR ld/23428
+   * testsuite/ld-elf/linux-x86.S: New file.
+   * testsuite/ld-elf/linux-x86.exp: Likewise.
+   * testsuite/ld-elf/pr23428.c: Likewise.
+   * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld
+   for Linux/x86 targets.
+   * testsuite/ld-i386/abs-iamcu.d: Likewise.
+   * testsuite/ld-i386/abs.d: Likewise.
+   * testsuite/ld-i386/pr12718.d: Likewise.

[arch-commits] Commit in binutils/repos (10 files)

2019-04-17 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, April 17, 2019 @ 10:43:03
  Author: bpiotrowski
Revision: 350828

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
(from rev 350827, 
binutils/trunk/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch)
  
binutils/repos/testing-x86_64/0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch
(from rev 350827, 
binutils/trunk/0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch)
  
binutils/repos/testing-x86_64/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch
(from rev 350827, 
binutils/trunk/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch)
  
binutils/repos/testing-x86_64/0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch
(from rev 350827, 
binutils/trunk/0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch)
  
binutils/repos/testing-x86_64/0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
(from rev 350827, 
binutils/trunk/0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch)
  
binutils/repos/testing-x86_64/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
(from rev 350827, 
binutils/trunk/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch)
  
binutils/repos/testing-x86_64/0007-PR23919-Handle-ELF-compressed-header-alignment.patch
(from rev 350827, 
binutils/trunk/0007-PR23919-Handle-ELF-compressed-header-alignment.patch)
  
binutils/repos/testing-x86_64/0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch
(from rev 350827, 
binutils/trunk/0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 350827, binutils/trunk/PKGBUILD)

-+
 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch |  515 

 0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch |  104 
+
 0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch |  141 
++
 0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch|   78 
+
 0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch   |  583 
++
 0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch   |  135 
++
 0007-PR23919-Handle-ELF-compressed-header-alignment.patch   |  316 
+
 0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch   |  187 
+++
 PKGBUILD|   78 
+
 9 files changed, 2137 insertions(+)

Copied: 
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
 (from rev 350827, 
binutils/trunk/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch)
===
--- 
testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
  (rev 0)
+++ 
testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
  2019-04-17 10:43:03 UTC (rev 350828)
@@ -0,0 +1,515 @@
+From f49ffdb448c81035e9ab285720cf74d59df2e111 Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" 
+Date: Fri, 20 Jul 2018 09:18:47 -0700
+Subject: [PATCH] x86: Add a GNU_PROPERTY_X86_ISA_1_USED note if needed
+
+When -z separate-code, which is enabled by default for Linux/x86, is
+used to create executable, ld won't place any data in the code-only
+PT_LOAD segment.  If there are no data sections placed before the
+code-only PT_LOAD segment, the program headers won't be mapped into
+any PT_LOAD segment.  When the executable tries to access it (based
+on the program header address passed in AT_PHDR), it will lead to
+segfault.  This patch inserts a GNU_PROPERTY_X86_ISA_1_USED note if
+there may be no data sections before the text section so that the
+first PT_LOAD segment won't be code-only and will contain the program
+header.
+
+Testcases are adjusted to either pass "-z noseparate-code" to ld or
+discard the .note.gnu.property section.  A Linux/x86 run-time test is
+added.
+
+bfd/
+
+   PR ld/23428
+   * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): If the
+   separate code program header is needed, make sure that the first
+   read-only PT_LOAD segment has no code by adding a
+   GNU_PROPERTY_X86_ISA_1_USED note.
+
+ld/
+
+   PR ld/23428
+   * testsuite/ld-elf/linux-x86.S: New file.
+   * testsuite/ld-elf/linux-x86.exp: Likewise.
+   * testsuite/ld-elf/pr23428.c: Likewise.
+   * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld
+   for Linux/x86 targets.
+   * testsuite/ld-i386/abs-iamcu.d: Likewise.
+   * testsuite/ld-i386/abs.d: Likewise.
+   * testsuite/ld-i386/pr12718.d: Likewi

[arch-commits] Commit in binutils/repos (10 files)

2012-07-05 Thread Allan McRae
Date: Thursday, July 5, 2012 @ 09:48:25
  Author: allan
Revision: 163009

db-move: moved binutils from [testing] to [core] ( i686,  x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 163006, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 163006, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 163006, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 163006, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  188 -
 core-i686/binutils.install   |   34 +++
 core-x86_64/PKGBUILD |  188 -
 core-x86_64/binutils.install |   34 +++
 4 files changed, 224 insertions(+), 220 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-07-05 13:48:19 UTC (rev 163008)
+++ core-i686/PKGBUILD  2012-07-05 13:48:25 UTC (rev 163009)
@@ -1,93 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.22
-pkgrel=7
-_date=20120323
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.15' 'zlib')
-checkdepends=('dejagnu')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('de2ac4298732827f8af706fc24020330')
-
-mksource() {
-  mkdir ${pkgname}-${_date}
-  cd ${pkgname}-${_date}
-  export _TAG=binutils-2_22-branch
-  export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src'
-  cvs -z9 co -r $_TAG binutils || return 1
-  mv src binutils
-  tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/*
-}
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  [[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd 
--disable-multilib"
-
-  ${srcdir}/binutils/configure --prefix=/usr \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads \
---enable-shared $CONFIGFLAG
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-
-  # do not abort on errors - manually check log files
-  make -k -j1 check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 163006, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-07-05 13:48:25 UTC (rev 163009)
@@ -0,0 +1,95 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.22
+pkgrel=8
+_date=20120323
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/s

[arch-commits] Commit in binutils/repos (10 files)

2012-07-14 Thread Allan McRae
Date: Saturday, July 14, 2012 @ 09:06:56
  Author: allan
Revision: 163511

db-move: moved binutils from [testing] to [core] ( i686,  x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 163510, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 163510, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 163510, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 163510, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  191 -
 core-i686/binutils.install   |   34 +++
 core-x86_64/PKGBUILD |  191 -
 core-x86_64/binutils.install |   34 +++
 4 files changed, 226 insertions(+), 224 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-07-14 12:20:18 UTC (rev 163510)
+++ core-i686/PKGBUILD  2012-07-14 13:06:56 UTC (rev 163511)
@@ -1,95 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.22
-pkgrel=8
-_date=20120323
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.16' 'zlib')
-checkdepends=('dejagnu')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('de2ac4298732827f8af706fc24020330')
-
-mksource() {
-  mkdir ${pkgname}-${_date}
-  cd ${pkgname}-${_date}
-  export _TAG=binutils-2_22-branch
-  export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src'
-  cvs -z9 co -r $_TAG binutils || return 1
-  mv src binutils
-  tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/*
-}
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  [[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd 
--disable-multilib"
-
-  ${srcdir}/binutils/configure --prefix=/usr \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads \
---enable-shared $CONFIGFLAG
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-
-  # do not abort on errors - manually check log files
-  # gold testsuite does not build with _FORTIFY_SOURCE (due to -O0 -Werror)
-  make CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}" \
-   CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 163510, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-07-14 13:06:56 UTC (rev 163511)
@@ -0,0 +1,96 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+

[arch-commits] Commit in binutils/repos (10 files)

2012-08-15 Thread Allan McRae
Date: Wednesday, August 15, 2012 @ 21:57:38
  Author: allan
Revision: 165342

db-move: moved binutils from [testing] to [core] (i686, x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 165338, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 165338, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 165338, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 165338, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  192 -
 core-i686/binutils.install   |   34 +++
 core-x86_64/PKGBUILD |  192 -
 core-x86_64/binutils.install |   34 +++
 4 files changed, 226 insertions(+), 226 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-08-16 01:57:32 UTC (rev 165341)
+++ core-i686/PKGBUILD  2012-08-16 01:57:38 UTC (rev 165342)
@@ -1,96 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.22
-pkgrel=9
-_date=20120323
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.16' 'zlib')
-checkdepends=('dejagnu')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('de2ac4298732827f8af706fc24020330')
-
-mksource() {
-  mkdir ${pkgname}-${_date}
-  cd ${pkgname}-${_date}
-  export _TAG=binutils-2_22-branch
-  export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src'
-  cvs -z9 co -r $_TAG binutils || return 1
-  mv src binutils
-  tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/*
-}
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  [[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd 
--disable-multilib"
-
-  ${srcdir}/binutils/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads \
---enable-shared $CONFIGFLAG
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-
-  # do not abort on errors - manually check log files
-  # gold testsuite does not build with _FORTIFY_SOURCE (due to -O0 -Werror)
-  make CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}" \
-   CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 165338, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-08-16 01:57:38 UTC (rev 165342)
@@ -0,0 +1,96 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binu

[arch-commits] Commit in binutils/repos (10 files)

2012-10-28 Thread Allan McRae
Date: Sunday, October 28, 2012 @ 07:11:44
  Author: allan
Revision: 169770

db-move: moved binutils from [testing] to [core] (i686, x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 169768, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 169768, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 169768, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 169768, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  180 +++--
 core-i686/binutils.install   |   34 +++
 core-x86_64/PKGBUILD |  180 +++--
 core-x86_64/binutils.install |   34 +++
 4 files changed, 202 insertions(+), 226 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-10-28 11:11:42 UTC (rev 169769)
+++ core-i686/PKGBUILD  2012-10-28 11:11:44 UTC (rev 169770)
@@ -1,96 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.22
-pkgrel=10
-_date=20120323
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.16' 'zlib')
-checkdepends=('dejagnu')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('de2ac4298732827f8af706fc24020330')
-
-mksource() {
-  mkdir ${pkgname}-${_date}
-  cd ${pkgname}-${_date}
-  export _TAG=binutils-2_22-branch
-  export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src'
-  cvs -z9 co -r $_TAG binutils || return 1
-  mv src binutils
-  tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/*
-}
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  [[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd 
--disable-multilib"
-
-  ${srcdir}/binutils/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads \
---enable-shared $CONFIGFLAG
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-
-  # do not abort on errors - manually check log files
-  # gold testsuite does not build with _FORTIFY_SOURCE (due to -O0 -Werror)
-  make CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}" \
-   CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 169768, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-10-28 11:11:44 UTC (rev 169770)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binut

[arch-commits] Commit in binutils/repos (10 files)

2012-11-15 Thread Allan McRae
Date: Thursday, November 15, 2012 @ 07:26:41
  Author: allan
Revision: 171025

db-move: moved binutils from [testing] to [core] (i686, x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 171024, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 171024, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 171024, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 171024, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  171 -
 core-i686/binutils.install   |   34 
 core-x86_64/PKGBUILD |  171 -
 core-x86_64/binutils.install |   34 
 4 files changed, 208 insertions(+), 202 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-11-15 06:28:10 UTC (rev 171024)
+++ core-i686/PKGBUILD  2012-11-15 12:26:41 UTC (rev 171025)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.23
-pkgrel=1
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.16' 'zlib')
-checkdepends=('dejagnu' 'bc')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz{,.sig})
-md5sums=('ed58f50d8920c3f1d9cb110d5c972c27'
- '5293d43d444852f71f7c96c6295ba66d')
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads --enable-shared \
---disable-werror --disable-multilib
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-  
-  # unset LDFLAGS as testsuite makes assumptions about which ones are active
-  # do not abort on errors - manually check log files
-  make LDFLAGS="" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h 
${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h 
${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 171024, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-11-15 12:26:41 UTC (rev 171025)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.23.1
+pkgrel=1
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.16' 'zlib')
+checkdepends=('dejagnu' 'bc')
+options=('!libto

[arch-commits] Commit in binutils/repos (10 files)

2012-12-28 Thread Allan McRae
Date: Friday, December 28, 2012 @ 08:10:59
  Author: allan
Revision: 173937

db-move: moved binutils from [testing] to [core] (i686, x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 173935, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 173935, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 173935, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 173935, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  174 -
 core-i686/binutils.install   |   34 
 core-x86_64/PKGBUILD |  174 -
 core-x86_64/binutils.install |   34 
 4 files changed, 208 insertions(+), 208 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-12-28 13:10:57 UTC (rev 173936)
+++ core-i686/PKGBUILD  2012-12-28 13:10:59 UTC (rev 173937)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.23.1
-pkgrel=1
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.16' 'zlib')
-checkdepends=('dejagnu' 'bc')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig})
-md5sums=('33adb18c3048d057ac58d07a3f1adb38'
- '1869b37216e7d7eff7e335a69e0882fd')
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads --enable-shared \
---disable-werror --disable-multilib
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-  
-  # unset LDFLAGS as testsuite makes assumptions about which ones are active
-  # do not abort on errors - manually check log files
-  make LDFLAGS="" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h 
${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h 
${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # why are these distributed with binutils?
-  rm ${pkgdir}/usr/share/info/{configure,standards}.info
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 173935, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-12-28 13:10:59 UTC (rev 173937)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.23.1
+pkgrel=2
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GP

[arch-commits] Commit in binutils/repos (10 files)

2013-01-05 Thread Allan McRae
Date: Saturday, January 5, 2013 @ 05:20:45
  Author: allan
Revision: 174628

db-move: moved binutils from [testing] to [core] (i686, x86_64)

Added:
  binutils/repos/core-i686/PKGBUILD
(from rev 174627, binutils/repos/testing-i686/PKGBUILD)
  binutils/repos/core-i686/binutils.install
(from rev 174627, binutils/repos/testing-i686/binutils.install)
  binutils/repos/core-x86_64/PKGBUILD
(from rev 174627, binutils/repos/testing-x86_64/PKGBUILD)
  binutils/repos/core-x86_64/binutils.install
(from rev 174627, binutils/repos/testing-x86_64/binutils.install)
Deleted:
  binutils/repos/core-i686/PKGBUILD
  binutils/repos/core-i686/binutils.install
  binutils/repos/core-x86_64/PKGBUILD
  binutils/repos/core-x86_64/binutils.install
  binutils/repos/testing-i686/
  binutils/repos/testing-x86_64/

--+
 core-i686/PKGBUILD   |  152 +
 core-i686/binutils.install   |   34 -
 core-x86_64/PKGBUILD |  152 +
 core-x86_64/binutils.install |   34 -
 4 files changed, 164 insertions(+), 208 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2013-01-05 10:14:33 UTC (rev 174627)
+++ core-i686/PKGBUILD  2013-01-05 10:20:45 UTC (rev 174628)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.23.1
-pkgrel=2
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.17' 'zlib')
-checkdepends=('dejagnu' 'bc')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig})
-md5sums=('33adb18c3048d057ac58d07a3f1adb38'
- '1869b37216e7d7eff7e335a69e0882fd')
-
-build() {
-  cd ${srcdir}
-  mkdir binutils-build && cd binutils-build
-
-  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-ld=default --enable-gold \
---enable-plugins --enable-threads --enable-shared \
---disable-werror --disable-multilib
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=${pkgdir}/usr
-
-  # Rebuild libiberty.a with -fPIC
-  cp -a libiberty libiberty-pic
-  make -C libiberty-pic clean
-  make CFLAGS="$CFLAGS -fPIC" -C libiberty-pic
-
-  # Rebuild libbfd.a with -fPIC
-  # hidden visability prevent 3rd party shared libraries exporting bfd 
non-stable API
-  cp -a bfd bfd-pic
-  make -C bfd-pic clean
-  make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
-
-  # Rebuild libopcodes.a with -fPIC
-  cp -a opcodes opcodes-pic
-  make -C opcodes-pic clean 
-  make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-  
-  # unset LDFLAGS as testsuite makes assumptions about which ones are active
-  # do not abort on errors - manually check log files
-  make LDFLAGS="" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-  
-  # Add some useful headers
-  install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h 
${pkgdir}/usr/include
-  install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h 
${pkgdir}/usr/include
-
-  # install libraries rebuilt with -fPIC
-  install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
-  install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
-  install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
-
-  # Remove Windows/Novell specific man pages
-  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # why are these distributed with binutils?
-  rm ${pkgdir}/usr/share/info/{configure,standards}.info
-
-  # Remove these symlinks, they are not ABI stable.
-  # Programs should compile static to the .a file.
-  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-  echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
-  echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}

Copied: binutils/repos/core-i686/PKGBUILD (from rev 174627, 
binutils/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2013-01-05 10:20:45 UTC (rev 174628)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.23.1
+pkgrel=3
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('

[arch-commits] Commit in binutils/repos (10 files)

2015-05-09 Thread Allan McRae
Date: Saturday, May 9, 2015 @ 23:42:16
  Author: allan
Revision: 238776

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  binutils/repos/testing-i686/PKGBUILD
(from rev 238775, binutils/trunk/PKGBUILD)
  binutils/repos/testing-i686/binutils-e9c1bdad.patch
(from rev 238775, binutils/trunk/binutils-e9c1bdad.patch)
  binutils/repos/testing-i686/binutils.install
(from rev 238775, binutils/trunk/binutils.install)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 238775, binutils/trunk/PKGBUILD)
  binutils/repos/testing-x86_64/binutils-e9c1bdad.patch
(from rev 238775, binutils/trunk/binutils-e9c1bdad.patch)
  binutils/repos/testing-x86_64/binutils.install
(from rev 238775, binutils/trunk/binutils.install)
Deleted:
  binutils/repos/testing-i686/PKGBUILD
  binutils/repos/testing-i686/binutils.install
  binutils/repos/testing-x86_64/PKGBUILD
  binutils/repos/testing-x86_64/binutils.install

+
 /PKGBUILD  |  148 +++
 /binutils.install  |   34 +++
 testing-i686/PKGBUILD  |   71 --
 testing-i686/binutils-e9c1bdad.patch   |   78 
 testing-i686/binutils.install  |   17 ---
 testing-x86_64/PKGBUILD|   71 --
 testing-x86_64/binutils-e9c1bdad.patch |   78 
 testing-x86_64/binutils.install|   17 ---
 8 files changed, 338 insertions(+), 176 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2015-05-09 21:40:39 UTC (rev 238775)
+++ testing-i686/PKGBUILD   2015-05-09 21:42:16 UTC (rev 238776)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.25
-pkgrel=4
-_commit=c42c779b
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.20' 'zlib')
-checkdepends=('dejagnu' 'bc')
-conflicts=('binutils-multilib')
-replaces=('binutils-multilib')
-options=('staticlibs' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
-
binutils-${pkgver}-roundup-${_commit}.patch::https://sourceware.org/git/gitweb.cgi\?p=binutils-gdb.git\;a=commitdiff_plain\;h=${_commit}\;hp=binutils-2_25)
-md5sums=('d9f3303f802a5b6b0bb73a335ab89d66'
- 'SKIP'
- '3df8fd5d9dd7cc67413d3816c7584297')
-validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93')  # Tristan Gingold
-
-prepare() {
-  cd ${srcdir}/binutils-${pkgver}
-  patch -p1 -i $srcdir/binutils-${pkgver}-roundup-${_commit}.patch
-
-  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-
-  mkdir ${srcdir}/binutils-build
-}
-
-build() {
-  cd ${srcdir}/binutils-build
-
-  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-threads --enable-shared --with-pic \
---enable-ld=default --enable-gold --enable-plugins \
---disable-werror
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=/usr
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-  
-  # unset LDFLAGS as testsuite makes assumptions about which ones are active
-  # ignore failures in gold testsuite...
-  make -k LDFLAGS="" check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
-  # Remove unwanted files
-  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # No shared linking to these files outside binutils
-  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-}

Copied: binutils/repos/testing-i686/PKGBUILD (from rev 238775, 
binutils/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-05-09 21:42:16 UTC (rev 238776)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+# build from head of release branch as bug fix releases are rare
+
+pkgname=binutils
+pkgver=2.25
+pkgrel=5
+_commit=69352378
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.20' 'zlib')
+makedepends=('git')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '

[arch-commits] Commit in binutils/repos (10 files)

2015-04-23 Thread Allan McRae
Date: Thursday, April 23, 2015 @ 13:56:42
  Author: allan
Revision: 237958

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  binutils/repos/staging-i686/PKGBUILD
(from rev 237957, binutils/trunk/PKGBUILD)
  binutils/repos/staging-i686/binutils.install
(from rev 237957, binutils/trunk/binutils.install)
  binutils/repos/staging-x86_64/PKGBUILD
(from rev 237957, binutils/trunk/PKGBUILD)
  binutils/repos/staging-x86_64/binutils.install
(from rev 237957, binutils/trunk/binutils.install)
Deleted:
  binutils/repos/staging-i686/PKGBUILD
  binutils/repos/staging-i686/binutils-2.25-roundup.patch
  binutils/repos/staging-i686/binutils.install
  binutils/repos/staging-x86_64/PKGBUILD
  binutils/repos/staging-x86_64/binutils-2.25-roundup.patch
  binutils/repos/staging-x86_64/binutils.install

-+
 /PKGBUILD   |  142 ++
 /binutils.install   |   34 +
 staging-i686/PKGBUILD   |   72 ---
 staging-i686/binutils.install   |   17 
 staging-x86_64/PKGBUILD |   72 ---
 staging-x86_64/binutils.install |   17 
 6 files changed, 176 insertions(+), 178 deletions(-)

Deleted: staging-i686/PKGBUILD
===
--- staging-i686/PKGBUILD   2015-04-23 11:55:17 UTC (rev 237957)
+++ staging-i686/PKGBUILD   2015-04-23 11:56:42 UTC (rev 237958)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.25
-pkgrel=3
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.20' 'zlib')
-checkdepends=('dejagnu' 'bc')
-conflicts=('binutils-multilib')
-replaces=('binutils-multilib')
-options=('staticlibs' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
-binutils-${pkgver}-roundup.patch)
-md5sums=('d9f3303f802a5b6b0bb73a335ab89d66'
- 'SKIP'
- 'd41d8cd98f00b204e9800998ecf8427e')
-validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93')  # Tristan Gingold
-
-prepare() {
-  cd ${srcdir}/binutils-${pkgver}
-
-  # binutils-2_25..c42c779b
-  patch -p1 -i $srcdir/binutils-${pkgver}-roundup.patch
-
-  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-
-  mkdir ${srcdir}/binutils-build
-}
-
-build() {
-  cd ${srcdir}/binutils-build
-
-  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-threads --enable-shared --with-pic \
---enable-ld=default --enable-gold --enable-plugins \
---disable-werror
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=/usr
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-  
-  # unset LDFLAGS as testsuite makes assumptions about which ones are active
-  # ignore failures in gold testsuite...
-  make -k LDFLAGS="" check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
-  # Remove unwanted files
-  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
-  # No shared linking to these files outside binutils
-  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-}

Copied: binutils/repos/staging-i686/PKGBUILD (from rev 237957, 
binutils/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-04-23 11:56:42 UTC (rev 237958)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.25
+pkgrel=4
+_commit=c42c779b
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.20' 'zlib')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '!ccache')
+install=binutils.install
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
+
binutils-${pkgver}-roundup-${_commit}.patch::https://sourceware.org/git/gitweb.cgi\?p=binutils-gdb.git\;a=commitdiff_plain\;h=${_commit}\;hp=binutils-2_25)
+md5sums=('d9f3303f802a5b6b0bb73a335ab89d66'
+ 'SKIP'
+ '3df8fd5d9dd7cc67413d3816c7584297')
+validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93')  # Tristan Gingold
+
+prepare() {
+ 

[arch-commits] Commit in binutils/repos (10 files)

2014-06-04 Thread Allan McRae
Date: Wednesday, June 4, 2014 @ 15:57:12
  Author: allan
Revision: 214250

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  binutils/repos/testing-i686/
  binutils/repos/testing-i686/PKGBUILD
(from rev 214249, binutils/trunk/PKGBUILD)
  binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch
(from rev 214249, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-i686/binutils-2.24-static-pie-hang.patch
(from rev 214249, binutils/trunk/binutils-2.24-static-pie-hang.patch)
  binutils/repos/testing-i686/binutils.install
(from rev 214249, binutils/trunk/binutils.install)
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 214249, binutils/trunk/PKGBUILD)
  binutils/repos/testing-x86_64/binutils-2.24-lto-testsuite.patch
(from rev 214249, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-x86_64/binutils-2.24-static-pie-hang.patch
(from rev 214249, binutils/trunk/binutils-2.24-static-pie-hang.patch)
  binutils/repos/testing-x86_64/binutils.install
(from rev 214249, binutils/trunk/binutils.install)

+
 testing-i686/PKGBUILD  |   78 +++
 testing-i686/binutils-2.24-lto-testsuite.patch |   53 
 testing-i686/binutils-2.24-static-pie-hang.patch   |   78 +++
 testing-i686/binutils.install  |   17 
 testing-x86_64/PKGBUILD|   78 +++
 testing-x86_64/binutils-2.24-lto-testsuite.patch   |   53 
 testing-x86_64/binutils-2.24-static-pie-hang.patch |   78 +++
 testing-x86_64/binutils.install|   17 
 8 files changed, 452 insertions(+)

Copied: binutils/repos/testing-i686/PKGBUILD (from rev 214249, 
binutils/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-06-04 13:57:12 UTC (rev 214250)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.24
+pkgrel=5
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.19' 'zlib')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '!ccache')
+install=binutils.install
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
+binutils-2.24-lto-testsuite.patch
+binutils-2.24-static-pie-hang.patch)
+md5sums=('e0f71a7b2ddab0f8612336ac81d9636b'
+ 'SKIP'
+ 'b16e895c24ff80acd98a21021eccefad'
+ '4d2cf591560c3d25265778146bbe1941')
+validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93')
+
+prepare() {
+  cd ${srcdir}/binutils-${pkgver}
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+  # fix lto testsuite with gcc-4.9 - commit b35d44f1
+  patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch
+
+  # fix autoconf hang with -static -fPIE -pie - commits d1ec1e40 and 818d220a
+  patch -p1 -i $srcdir/binutils-2.24-static-pie-hang.patch
+
+  mkdir ${srcdir}/binutils-build
+}
+
+build() {
+  cd ${srcdir}/binutils-build
+
+  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
+--with-lib-path=/usr/lib:/usr/local/lib \
+--with-bugurl=https://bugs.archlinux.org/ \
+--enable-threads --enable-shared --with-pic \
+--enable-ld=default --enable-gold --enable-plugins \
+--disable-werror
+
+  # check the host environment and makes sure all the necessary tools are 
available
+  make configure-host
+
+  make tooldir=/usr
+}
+
+check() {
+  cd ${srcdir}/binutils-build
+  
+  # unset LDFLAGS as testsuite makes assumptions about which ones are active
+  # do not abort on errors - manually check log files
+  make LDFLAGS="" -k check || true
+}
+
+package() {
+  cd ${srcdir}/binutils-build
+  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
+
+  # Remove unwanted files
+  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+  rm ${pkgdir}/usr/share/info/{configure,standards}.info
+
+  # No shared linking to these files outside binutils
+  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
+}

Copied: binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch (from rev 
214249, binutils/trunk/binutils-2.24-lto-testsuite.patch)
===
--- testing-i686/binutils-2.24-lto-testsuite.patch  
(rev 0)
+++ testing-i686/binutils-2.24-lto-testsuite.patch  2014-06-04 13:57:12 UTC 
(rev 214250)
@@

[arch-commits] Commit in binutils/repos (10 files)

2014-06-12 Thread Allan McRae
Date: Thursday, June 12, 2014 @ 16:08:42
  Author: allan
Revision: 215067

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  binutils/repos/testing-i686/
  binutils/repos/testing-i686/PKGBUILD
(from rev 215066, binutils/trunk/PKGBUILD)
  binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch
(from rev 215066, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-i686/binutils-2.24-shared-pie.patch
(from rev 215066, binutils/trunk/binutils-2.24-shared-pie.patch)
  binutils/repos/testing-i686/binutils.install
(from rev 215066, binutils/trunk/binutils.install)
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 215066, binutils/trunk/PKGBUILD)
  binutils/repos/testing-x86_64/binutils-2.24-lto-testsuite.patch
(from rev 215066, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-x86_64/binutils-2.24-shared-pie.patch
(from rev 215066, binutils/trunk/binutils-2.24-shared-pie.patch)
  binutils/repos/testing-x86_64/binutils.install
(from rev 215066, binutils/trunk/binutils.install)

--+
 testing-i686/PKGBUILD|   78 
 testing-i686/binutils-2.24-lto-testsuite.patch   |   53 +++
 testing-i686/binutils-2.24-shared-pie.patch  |   99 +
 testing-i686/binutils.install|   17 +++
 testing-x86_64/PKGBUILD  |   78 
 testing-x86_64/binutils-2.24-lto-testsuite.patch |   53 +++
 testing-x86_64/binutils-2.24-shared-pie.patch|   99 +
 testing-x86_64/binutils.install  |   17 +++
 8 files changed, 494 insertions(+)

Copied: binutils/repos/testing-i686/PKGBUILD (from rev 215066, 
binutils/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-06-12 14:08:42 UTC (rev 215067)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.24
+pkgrel=6
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.19' 'zlib')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '!ccache')
+install=binutils.install
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
+binutils-2.24-lto-testsuite.patch
+binutils-2.24-shared-pie.patch)
+md5sums=('e0f71a7b2ddab0f8612336ac81d9636b'
+ 'SKIP'
+ 'b16e895c24ff80acd98a21021eccefad'
+ 'ec59461c4febab9cfe1c1ef33326bc50')
+validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93')
+
+prepare() {
+  cd ${srcdir}/binutils-${pkgver}
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+  # fix lto testsuite with gcc-4.9 - commit b35d44f1
+  patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch
+
+  # fix issues with -static -fPIE -pie - commit 4199e3b8
+  patch -p1 -i $srcdir/binutils-2.24-shared-pie.patch
+
+  mkdir ${srcdir}/binutils-build
+}
+
+build() {
+  cd ${srcdir}/binutils-build
+
+  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
+--with-lib-path=/usr/lib:/usr/local/lib \
+--with-bugurl=https://bugs.archlinux.org/ \
+--enable-threads --enable-shared --with-pic \
+--enable-ld=default --enable-gold --enable-plugins \
+--disable-werror
+
+  # check the host environment and makes sure all the necessary tools are 
available
+  make configure-host
+
+  make tooldir=/usr
+}
+
+check() {
+  cd ${srcdir}/binutils-build
+  
+  # unset LDFLAGS as testsuite makes assumptions about which ones are active
+  # do not abort on errors - manually check log files
+  make LDFLAGS="" -k check || true
+}
+
+package() {
+  cd ${srcdir}/binutils-build
+  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
+
+  # Remove unwanted files
+  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+  rm ${pkgdir}/usr/share/info/{configure,standards}.info
+
+  # No shared linking to these files outside binutils
+  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
+}

Copied: binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch (from rev 
215066, binutils/trunk/binutils-2.24-lto-testsuite.patch)
===
--- testing-i686/binutils-2.24-lto-testsuite.patch  
(rev 0)
+++ testing-i686/binutils-2.24-lto-testsuite.patch  2014-06-12 14:08:42 UTC 
(rev 215067)
@@ -0,0 +1,53 @@
+index c5249f0..69946de 100644
+--- a/ld/testsuite/ld-plugin

[arch-commits] Commit in binutils/repos (10 files)

2014-04-22 Thread Allan McRae
Date: Wednesday, April 23, 2014 @ 04:35:05
  Author: allan
Revision: 211679

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  binutils/repos/staging-i686/PKGBUILD
(from rev 211678, binutils/trunk/PKGBUILD)
  binutils/repos/staging-i686/binutils-2.24-lto-testsuite.patch
(from rev 211678, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/staging-i686/binutils.install
(from rev 211678, binutils/trunk/binutils.install)
  binutils/repos/staging-x86_64/
  binutils/repos/staging-x86_64/PKGBUILD
(from rev 211678, binutils/trunk/PKGBUILD)
  binutils/repos/staging-x86_64/binutils-2.24-lto-testsuite.patch
(from rev 211678, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/staging-x86_64/binutils.install
(from rev 211678, binutils/trunk/binutils.install)
Deleted:
  binutils/repos/staging-i686/PKGBUILD
  binutils/repos/staging-i686/binutils-2.24-lto-testsuite.patch
  binutils/repos/staging-i686/binutils.install

--+
 /PKGBUILD|   72 +
 /binutils-2.24-lto-testsuite.patch   |   53 +++
 /binutils.install|   17 
 staging-i686/PKGBUILD|   72 -
 staging-i686/binutils-2.24-lto-testsuite.patch   |   53 ---
 staging-i686/binutils.install|   17 
 staging-x86_64/PKGBUILD  |   72 +
 staging-x86_64/binutils-2.24-lto-testsuite.patch |   53 +++
 staging-x86_64/binutils.install  |   17 
 9 files changed, 284 insertions(+), 142 deletions(-)

Deleted: staging-i686/PKGBUILD
===
--- staging-i686/PKGBUILD   2014-04-23 02:33:50 UTC (rev 211678)
+++ staging-i686/PKGBUILD   2014-04-23 02:35:05 UTC (rev 211679)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-
-# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.24
-pkgrel=3
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/";
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.19' 'zlib')
-checkdepends=('dejagnu' 'bc')
-conflicts=('binutils-multilib')
-replaces=('binutils-multilib')
-options=('staticlibs' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
-binutils-2.24-lto-testsuite.patch)
-md5sums=('e0f71a7b2ddab0f8612336ac81d9636b'
- 'SKIP'
- 'b16e895c24ff80acd98a21021eccefad')
-
-prepare() {
-  cd ${srcdir}/binutils-${pkgver}
-
-  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-
-  # fix lto testsuite with gcc-4.9 - commit b35d44f1
-  patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch
-
-  mkdir ${srcdir}/binutils-build
-}
-
-build() {
-  cd ${srcdir}/binutils-build
-
-  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
---with-lib-path=/usr/lib:/usr/local/lib \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-threads --enable-shared \
---enable-ld=default --enable-gold --enable-plugins \
---disable-werror
-
-  # check the host environment and makes sure all the necessary tools are 
available
-  make configure-host
-
-  make tooldir=/usr
-}
-
-check() {
-  cd ${srcdir}/binutils-build
-  
-  # unset LDFLAGS as testsuite makes assumptions about which ones are active
-  # do not abort on errors - manually check log files
-  make LDFLAGS="" -k check || true
-}
-
-package() {
-  cd ${srcdir}/binutils-build
-  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
-  # Remove unwanted files
-  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-  rm ${pkgdir}/usr/share/info/{configure,standards}.info
-
-  # No shared linking to these files outside binutils
-  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
-}

Copied: binutils/repos/staging-i686/PKGBUILD (from rev 211678, 
binutils/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-04-23 02:35:05 UTC (rev 211679)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.24
+pkgrel=3
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.19' 'zlib')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '!cca

[arch-commits] Commit in binutils/repos (10 files)

2014-05-16 Thread Allan McRae
Date: Friday, May 16, 2014 @ 13:10:46
  Author: allan
Revision: 212882

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  binutils/repos/testing-i686/
  binutils/repos/testing-i686/PKGBUILD
(from rev 212881, binutils/trunk/PKGBUILD)
  binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch
(from rev 212881, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-i686/binutils-2.24-static-pie-hang.patch
(from rev 212881, binutils/trunk/binutils-2.24-static-pie-hang.patch)
  binutils/repos/testing-i686/binutils.install
(from rev 212881, binutils/trunk/binutils.install)
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 212881, binutils/trunk/PKGBUILD)
  binutils/repos/testing-x86_64/binutils-2.24-lto-testsuite.patch
(from rev 212881, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-x86_64/binutils-2.24-static-pie-hang.patch
(from rev 212881, binutils/trunk/binutils-2.24-static-pie-hang.patch)
  binutils/repos/testing-x86_64/binutils.install
(from rev 212881, binutils/trunk/binutils.install)

+
 testing-i686/PKGBUILD  |   77 ++
 testing-i686/binutils-2.24-lto-testsuite.patch |   53 
 testing-i686/binutils-2.24-static-pie-hang.patch   |   78 +++
 testing-i686/binutils.install  |   17 
 testing-x86_64/PKGBUILD|   77 ++
 testing-x86_64/binutils-2.24-lto-testsuite.patch   |   53 
 testing-x86_64/binutils-2.24-static-pie-hang.patch |   78 +++
 testing-x86_64/binutils.install|   17 
 8 files changed, 450 insertions(+)

Copied: binutils/repos/testing-i686/PKGBUILD (from rev 212881, 
binutils/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-16 11:10:46 UTC (rev 212882)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.24
+pkgrel=4
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.19' 'zlib')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '!ccache')
+install=binutils.install
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
+binutils-2.24-lto-testsuite.patch
+binutils-2.24-static-pie-hang.patch)
+md5sums=('e0f71a7b2ddab0f8612336ac81d9636b'
+ 'SKIP'
+ 'b16e895c24ff80acd98a21021eccefad'
+ '4d2cf591560c3d25265778146bbe1941')
+
+prepare() {
+  cd ${srcdir}/binutils-${pkgver}
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+  # fix lto testsuite with gcc-4.9 - commit b35d44f1
+  patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch
+
+  # fix autoconf hang with -static -fPIE -pie - commits d1ec1e40 and 818d220a
+  patch -p1 -i $srcdir/binutils-2.24-static-pie-hang.patch
+
+  mkdir ${srcdir}/binutils-build
+}
+
+build() {
+  cd ${srcdir}/binutils-build
+
+  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
+--with-lib-path=/usr/lib:/usr/local/lib \
+--with-bugurl=https://bugs.archlinux.org/ \
+--enable-threads --enable-shared \
+--enable-ld=default --enable-gold --enable-plugins \
+--disable-werror
+
+  # check the host environment and makes sure all the necessary tools are 
available
+  make configure-host
+
+  make tooldir=/usr
+}
+
+check() {
+  cd ${srcdir}/binutils-build
+  
+  # unset LDFLAGS as testsuite makes assumptions about which ones are active
+  # do not abort on errors - manually check log files
+  make LDFLAGS="" -k check || true
+}
+
+package() {
+  cd ${srcdir}/binutils-build
+  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
+
+  # Remove unwanted files
+  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+  rm ${pkgdir}/usr/share/info/{configure,standards}.info
+
+  # No shared linking to these files outside binutils
+  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
+}

Copied: binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch (from rev 
212881, binutils/trunk/binutils-2.24-lto-testsuite.patch)
===
--- testing-i686/binutils-2.24-lto-testsuite.patch  
(rev 0)
+++ testing-i686/binutils-2.24-lto-testsuite.patch  2014-05-16 11:10:46 UTC 
(rev 212882)
@@ -0,0 +1,53 @@
+index c5249f0..69946de 100644
+--- a/ld/testsuite/ld-plugin

[arch-commits] Commit in binutils/repos (10 files)

2014-05-16 Thread Allan McRae
Date: Friday, May 16, 2014 @ 13:14:58
  Author: allan
Revision: 212884

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  binutils/repos/testing-i686/
  binutils/repos/testing-i686/PKGBUILD
(from rev 212883, binutils/trunk/PKGBUILD)
  binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch
(from rev 212883, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-i686/binutils-2.24-static-pie-hang.patch
(from rev 212883, binutils/trunk/binutils-2.24-static-pie-hang.patch)
  binutils/repos/testing-i686/binutils.install
(from rev 212883, binutils/trunk/binutils.install)
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 212883, binutils/trunk/PKGBUILD)
  binutils/repos/testing-x86_64/binutils-2.24-lto-testsuite.patch
(from rev 212883, binutils/trunk/binutils-2.24-lto-testsuite.patch)
  binutils/repos/testing-x86_64/binutils-2.24-static-pie-hang.patch
(from rev 212883, binutils/trunk/binutils-2.24-static-pie-hang.patch)
  binutils/repos/testing-x86_64/binutils.install
(from rev 212883, binutils/trunk/binutils.install)

+
 testing-i686/PKGBUILD  |   77 ++
 testing-i686/binutils-2.24-lto-testsuite.patch |   53 
 testing-i686/binutils-2.24-static-pie-hang.patch   |   78 +++
 testing-i686/binutils.install  |   17 
 testing-x86_64/PKGBUILD|   77 ++
 testing-x86_64/binutils-2.24-lto-testsuite.patch   |   53 
 testing-x86_64/binutils-2.24-static-pie-hang.patch |   78 +++
 testing-x86_64/binutils.install|   17 
 8 files changed, 450 insertions(+)

Copied: binutils/repos/testing-i686/PKGBUILD (from rev 212883, 
binutils/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-16 11:14:58 UTC (rev 212884)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.24
+pkgrel=4
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/binutils/";
+license=('GPL')
+groups=('base-devel')
+depends=('glibc>=2.19' 'zlib')
+checkdepends=('dejagnu' 'bc')
+conflicts=('binutils-multilib')
+replaces=('binutils-multilib')
+options=('staticlibs' '!distcc' '!ccache')
+install=binutils.install
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
+binutils-2.24-lto-testsuite.patch
+binutils-2.24-static-pie-hang.patch)
+md5sums=('e0f71a7b2ddab0f8612336ac81d9636b'
+ 'SKIP'
+ 'b16e895c24ff80acd98a21021eccefad'
+ '4d2cf591560c3d25265778146bbe1941')
+
+prepare() {
+  cd ${srcdir}/binutils-${pkgver}
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+  # fix lto testsuite with gcc-4.9 - commit b35d44f1
+  patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch
+
+  # fix autoconf hang with -static -fPIE -pie - commits d1ec1e40 and 818d220a
+  patch -p1 -i $srcdir/binutils-2.24-static-pie-hang.patch
+
+  mkdir ${srcdir}/binutils-build
+}
+
+build() {
+  cd ${srcdir}/binutils-build
+
+  ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
+--with-lib-path=/usr/lib:/usr/local/lib \
+--with-bugurl=https://bugs.archlinux.org/ \
+--enable-threads --enable-shared \
+--enable-ld=default --enable-gold --enable-plugins \
+--disable-werror
+
+  # check the host environment and makes sure all the necessary tools are 
available
+  make configure-host
+
+  make tooldir=/usr
+}
+
+check() {
+  cd ${srcdir}/binutils-build
+  
+  # unset LDFLAGS as testsuite makes assumptions about which ones are active
+  # do not abort on errors - manually check log files
+  make LDFLAGS="" -k check || true
+}
+
+package() {
+  cd ${srcdir}/binutils-build
+  make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
+
+  # Remove unwanted files
+  rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+  rm ${pkgdir}/usr/share/info/{configure,standards}.info
+
+  # No shared linking to these files outside binutils
+  rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
+}

Copied: binutils/repos/testing-i686/binutils-2.24-lto-testsuite.patch (from rev 
212883, binutils/trunk/binutils-2.24-lto-testsuite.patch)
===
--- testing-i686/binutils-2.24-lto-testsuite.patch  
(rev 0)
+++ testing-i686/binutils-2.24-lto-testsuite.patch  2014-05-16 11:14:58 UTC 
(rev 212884)
@@ -0,0 +1,53 @@
+index c5249f0..69946de 100644
+--- a/ld/testsuite/ld-plugin