[arch-commits] Commit in binutils/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2020-10-14 Thread Jelle van der Waa via arch-commits
Date: Wednesday, October 14, 2020 @ 16:32:27
  Author: jelle
Revision: 398331

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 398330, binutils/trunk/PKGBUILD)

--+
 PKGBUILD |   85 +
 1 file changed, 85 insertions(+)

Copied: binutils/repos/testing-x86_64/PKGBUILD (from rev 398330, 
binutils/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-10-14 16:32:27 UTC (rev 398331)
@@ -0,0 +1,85 @@
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.35.1
+pkgrel=1
+pkgdesc='A set of programs to assemble and manipulate binary and object files'
+arch=(x86_64)
+url='https://www.gnu.org/software/binutils/'
+license=(GPL)
+groups=(base-devel)
+depends=(glibc zlib elfutils)
+makedepends=(elfutils git)
+conflicts=(binutils-multilib)
+replaces=(binutils-multilib)
+options=(staticlibs !distcc !ccache)
+#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
+#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
+sha256sums=('3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607'
+'SKIP')
+validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
+
+prepare() {
+  [[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
+  mkdir -p binutils-build
+
+  cd binutils-gdb
+
+  # Turn off development mode (-Werror, gas run-time checks, date in sonames)
+  sed -i '/^development=/s/true/false/' bfd/development.sh
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd binutils-build
+
+  "$srcdir/binutils-gdb/configure" \
+--prefix=/usr \
+--with-lib-path=/usr/lib:/usr/local/lib \
+--with-bugurl=https://bugs.archlinux.org/ \
+--enable-cet \
+--enable-deterministic-archives \
+--enable-gold \
+--enable-ld=default \
+--enable-lto \
+--enable-plugins \
+--enable-relro \
+--enable-shared \
+--enable-targets=x86_64-pep \
+--enable-threads \
+--disable-gdb \
+--disable-werror \
+--with-debuginfod \
+--with-pic \
+--with-system-zlib
+
+  make configure-host
+  make tooldir=/usr
+}
+
+check() {
+  cd 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 binutils-build
+  make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
+
+  # Remove unwanted files
+  rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+
+  # No shared linking to these files outside binutils
+  rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
+  echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > 
"$pkgdir/usr/lib/libbfd.so"
+  echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
+}


[arch-commits] Commit in binutils/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2020-09-01 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, September 1, 2020 @ 18:51:50
  Author: bpiotrowski
Revision: 395106

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 395105, binutils/trunk/PKGBUILD)

--+
 PKGBUILD |   85 +
 1 file changed, 85 insertions(+)

Copied: binutils/repos/testing-x86_64/PKGBUILD (from rev 395105, 
binutils/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-09-01 18:51:50 UTC (rev 395106)
@@ -0,0 +1,85 @@
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.35
+pkgrel=2
+pkgdesc='A set of programs to assemble and manipulate binary and object files'
+arch=(x86_64)
+url='https://www.gnu.org/software/binutils/'
+license=(GPL)
+groups=(base-devel)
+depends=(glibc zlib elfutils)
+makedepends=(elfutils git)
+conflicts=(binutils-multilib)
+replaces=(binutils-multilib)
+options=(staticlibs !distcc !ccache)
+#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
+#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
+sha256sums=('1b11659fb49e20e18db460d44485f09442c8c56d5df165de9461eb09c8302f85'
+'SKIP')
+validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
+
+prepare() {
+  [[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
+  mkdir -p binutils-build
+
+  cd binutils-gdb
+
+  # Turn off development mode (-Werror, gas run-time checks, date in sonames)
+  sed -i '/^development=/s/true/false/' bfd/development.sh
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+  cd binutils-build
+
+  "$srcdir/binutils-gdb/configure" \
+--prefix=/usr \
+--with-lib-path=/usr/lib:/usr/local/lib \
+--with-bugurl=https://bugs.archlinux.org/ \
+--enable-cet \
+--enable-deterministic-archives \
+--enable-gold \
+--enable-ld=default \
+--enable-lto \
+--enable-plugins \
+--enable-relro \
+--enable-shared \
+--enable-targets=x86_64-pep \
+--enable-threads \
+--disable-gdb \
+--disable-werror \
+--with-debuginfod \
+--with-pic \
+--with-system-zlib
+
+  make configure-host
+  make tooldir=/usr
+}
+
+check() {
+  cd 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 binutils-build
+  make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
+
+  # Remove unwanted files
+  rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+
+  # No shared linking to these files outside binutils
+  rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
+  echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > 
"$pkgdir/usr/lib/libbfd.so"
+  echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
+}


[arch-commits] Commit in binutils/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2020-02-04 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, February 5, 2020 @ 06:08:11
  Author: bpiotrowski
Revision: 374613

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 374612, binutils/trunk/PKGBUILD)

--+
 PKGBUILD |   78 +
 1 file changed, 78 insertions(+)

Copied: binutils/repos/testing-x86_64/PKGBUILD (from rev 374612, 
binutils/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-02-05 06:08:11 UTC (rev 374613)
@@ -0,0 +1,78 @@
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.34
+pkgrel=1
+pkgdesc='A set of programs to assemble and manipulate binary and object files'
+arch=(x86_64)
+url='https://www.gnu.org/software/binutils/'
+license=(GPL)
+groups=(base-devel)
+depends=(glibc zlib)
+checkdepends=(dejagnu bc)
+conflicts=(binutils-multilib)
+replaces=(binutils-multilib)
+options=(staticlibs !distcc !ccache)
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
+validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
+md5sums=('664ec3a2df7805ed3464639aaae332d6'
+ 'SKIP')
+
+prepare() {
+  mkdir -p binutils-build
+
+  #cd binutils-gdb
+  cd binutils-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+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-deterministic-archives \
+--enable-gold \
+--enable-ld=default \
+--enable-lto \
+--enable-plugins \
+--enable-relro \
+--enable-shared \
+--enable-targets=x86_64-pep \
+--enable-threads \
+--disable-gdb \
+--disable-werror \
+--with-pic \
+--with-system-zlib
+
+  make configure-host
+  make tooldir=/usr
+}
+
+check() {
+  cd 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 binutils-build
+  make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
+
+  # Remove unwanted files
+  rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+
+  # No shared linking to these files outside binutils
+  rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
+  echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > 
"$pkgdir/usr/lib/libbfd.so"
+  echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
+}


[arch-commits] Commit in binutils/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2019-10-24 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, October 24, 2019 @ 16:30:50
  Author: bpiotrowski
Revision: 365434

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 365433, binutils/trunk/PKGBUILD)

--+
 PKGBUILD |   78 +
 1 file changed, 78 insertions(+)

Copied: binutils/repos/testing-x86_64/PKGBUILD (from rev 365433, 
binutils/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-24 16:30:50 UTC (rev 365434)
@@ -0,0 +1,78 @@
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
+
+# toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=binutils
+pkgver=2.33.1
+pkgrel=1
+pkgdesc='A set of programs to assemble and manipulate binary and object files'
+arch=(x86_64)
+url='https://www.gnu.org/software/binutils/'
+license=(GPL)
+groups=(base-devel)
+depends=(glibc zlib)
+checkdepends=(dejagnu bc)
+conflicts=(binutils-multilib)
+replaces=(binutils-multilib)
+options=(staticlibs !distcc !ccache)
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
+validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
+md5sums=('9406231b7d9dd93731c2d06cefe8aaf1'
+ 'SKIP')
+
+prepare() {
+  mkdir -p binutils-build
+
+  #cd binutils-gdb
+  cd binutils-$pkgver
+
+  # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+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-deterministic-archives \
+--enable-gold \
+--enable-ld=default \
+--enable-lto \
+--enable-plugins \
+--enable-relro \
+--enable-shared \
+--enable-targets=x86_64-pep \
+--enable-threads \
+--disable-gdb \
+--disable-werror \
+--with-pic \
+--with-system-zlib
+
+  make configure-host
+  make tooldir=/usr
+}
+
+check() {
+  cd 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 binutils-build
+  make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install
+
+  # Remove unwanted files
+  rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
+
+  # No shared linking to these files outside binutils
+  rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
+  echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > 
"$pkgdir/usr/lib/libbfd.so"
+  echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
+}


[arch-commits] Commit in binutils/repos/testing-x86_64 (11 files)

2018-08-11 Thread Evangelos Foutras via arch-commits
Date: Saturday, August 11, 2018 @ 15:11:47
  Author: foutrelis
Revision: 331385

archrelease: copy trunk to testing-x86_64

Added:
  
binutils/repos/testing-x86_64/0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
(from rev 331384, 
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 331384, 
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 331384, 
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 331384, 
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 331384, 
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 331384, 
binutils/trunk/0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 331384, binutils/trunk/PKGBUILD)
Deleted:
  
binutils/repos/testing-x86_64/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
  
binutils/repos/testing-x86_64/0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch
  binutils/repos/testing-x86_64/PKGBUILD

-+
 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch | 1030 
+-
 0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch |  208 
+-
 0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch |  282 
+-
 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 
+
 PKGBUILD|  194 
-
 7 files changed, 1658 insertions(+), 852 deletions(-)

Deleted: 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
===
--- 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch 
2018-08-11 15:11:37 UTC (rev 331384)
+++ 0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch 
2018-08-11 15:11:47 UTC (rev 331385)
@@ -1,515 +0,0 @@
-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.
-   * testsuite/ld-i386/pr12921.d: Likewise.
-   * testsuite/ld-x86-64/abs-k1om.d: Likewise.
-   * testsuite/ld-x86-64/abs-l1om.d: Likewise.
-   * testsuite/ld-x86-64/abs.d: Likewise.
-   * testsuite/ld-x86-64/pr12718.d: Likewise.
-   * testsuite/ld-x86-64/pr12921.d: Likewise.
-   * testsuite/ld-linkonce/zeroeh.ld: Discard .note.gnu.property
-   section.
-  

[arch-commits] Commit in binutils/repos/testing-x86_64 (7 files)

2018-04-21 Thread Bartłomiej Piotrowski via arch-commits
Date: Saturday, April 21, 2018 @ 18:29:39
  Author: bpiotrowski
Revision: 322769

archrelease: copy trunk to testing-x86_64

Added:
  
binutils/repos/testing-x86_64/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
(from rev 322768, 
binutils/trunk/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch)
  
binutils/repos/testing-x86_64/0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
(from rev 322768, 
binutils/trunk/0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch)
  
binutils/repos/testing-x86_64/0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch
(from rev 322768, 
binutils/trunk/0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 322768, binutils/trunk/PKGBUILD)
Deleted:
  
binutils/repos/testing-x86_64/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
  
binutils/repos/testing-x86_64/0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
  binutils/repos/testing-x86_64/PKGBUILD

-+
 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   |   58 +-
 0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch |  290 
+-
 0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch  |  233 
 PKGBUILD|  183 +++---
 4 files changed, 501 insertions(+), 263 deletions(-)

Deleted: 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
===
--- 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   2018-04-21 
18:29:19 UTC (rev 322768)
+++ 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   2018-04-21 
18:29:39 UTC (rev 322769)
@@ -1,29 +0,0 @@
-From eb77f6a4621795367a39cdd30957903af9dbb815 Mon Sep 17 00:00:00 2001
-From: Alan Modra 
-Date: Sat, 27 Jan 2018 08:19:33 +1030
-Subject: [PATCH] PR22741, objcopy segfault on fuzzed COFF object
-
-   PR 22741
-   * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
-   range before converting to a symbol table pointer.

- bfd/coffgen.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/bfd/coffgen.c b/bfd/coffgen.c
-index b2410873d0..4f90eaddd9 100644
 a/bfd/coffgen.c
-+++ b/bfd/coffgen.c
-@@ -1555,7 +1555,8 @@ coff_pointerize_aux (bfd *abfd,
- }
-   /* A negative tagndx is meaningless, but the SCO 3.2v4 cc can
-  generate one, so we must be careful to ignore it.  */
--  if (auxent->u.auxent.x_sym.x_tagndx.l > 0)
-+  if ((unsigned long) auxent->u.auxent.x_sym.x_tagndx.l
-+  < obj_raw_syment_count (abfd))
- {
-   auxent->u.auxent.x_sym.x_tagndx.p =
-   table_base + auxent->u.auxent.x_sym.x_tagndx.l;
--- 
-2.16.2
-

Copied: 
binutils/repos/testing-x86_64/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
 (from rev 322768, 
binutils/trunk/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch)
===
--- 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   
(rev 0)
+++ 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   2018-04-21 
18:29:39 UTC (rev 322769)
@@ -0,0 +1,29 @@
+From eb77f6a4621795367a39cdd30957903af9dbb815 Mon Sep 17 00:00:00 2001
+From: Alan Modra 
+Date: Sat, 27 Jan 2018 08:19:33 +1030
+Subject: [PATCH] PR22741, objcopy segfault on fuzzed COFF object
+
+   PR 22741
+   * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
+   range before converting to a symbol table pointer.
+---
+ bfd/coffgen.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/bfd/coffgen.c b/bfd/coffgen.c
+index b2410873d0..4f90eaddd9 100644
+--- a/bfd/coffgen.c
 b/bfd/coffgen.c
+@@ -1555,7 +1555,8 @@ coff_pointerize_aux (bfd *abfd,
+ }
+   /* A negative tagndx is meaningless, but the SCO 3.2v4 cc can
+  generate one, so we must be careful to ignore it.  */
+-  if (auxent->u.auxent.x_sym.x_tagndx.l > 0)
++  if ((unsigned long) auxent->u.auxent.x_sym.x_tagndx.l
++  < obj_raw_syment_count (abfd))
+ {
+   auxent->u.auxent.x_sym.x_tagndx.p =
+   table_base + auxent->u.auxent.x_sym.x_tagndx.l;
+-- 
+2.16.2
+

Deleted: 0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
===
--- 0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch 
2018-04-21 18:29:19 UTC (rev 322768)
+++ 0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch 
2018-04-21 18:29:39 UTC (rev 322769)
@@ -1,145 +0,0 @@
-From 3b56a1358768563d9cf320559ebdedfb30f122dd Mon Sep 17 00:00:00 2001
-From: Alan Modra 
-Date: Mon, 12 Feb 2018 13:06:07 +1030
-Subject: [PATCH] PR22829, objcopy/strip removes PT_GNU_RELRO from lld binaries
-
-lld lays out the relro segment 

[arch-commits] Commit in binutils/repos/testing-x86_64 (6 files)

2018-04-10 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, April 10, 2018 @ 21:55:26
  Author: bpiotrowski
Revision: 321518

archrelease: copy trunk to testing-x86_64

Added:
  
binutils/repos/testing-x86_64/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
(from rev 321517, 
binutils/trunk/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch)
  
binutils/repos/testing-x86_64/0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
(from rev 321517, 
binutils/trunk/0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch)
  binutils/repos/testing-x86_64/PKGBUILD
(from rev 321517, binutils/trunk/PKGBUILD)
Deleted:
  
binutils/repos/testing-x86_64/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
  
binutils/repos/testing-x86_64/0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
  binutils/repos/testing-x86_64/PKGBUILD

-+
 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   |   58 +--
 0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch |  145 
 0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch |  145 
 PKGBUILD|  175 
+-
 4 files changed, 263 insertions(+), 260 deletions(-)

Deleted: 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
===
--- 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   2018-04-10 
21:55:03 UTC (rev 321517)
+++ 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   2018-04-10 
21:55:26 UTC (rev 321518)
@@ -1,29 +0,0 @@
-From eb77f6a4621795367a39cdd30957903af9dbb815 Mon Sep 17 00:00:00 2001
-From: Alan Modra 
-Date: Sat, 27 Jan 2018 08:19:33 +1030
-Subject: [PATCH] PR22741, objcopy segfault on fuzzed COFF object
-
-   PR 22741
-   * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
-   range before converting to a symbol table pointer.

- bfd/coffgen.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/bfd/coffgen.c b/bfd/coffgen.c
-index b2410873d0..4f90eaddd9 100644
 a/bfd/coffgen.c
-+++ b/bfd/coffgen.c
-@@ -1555,7 +1555,8 @@ coff_pointerize_aux (bfd *abfd,
- }
-   /* A negative tagndx is meaningless, but the SCO 3.2v4 cc can
-  generate one, so we must be careful to ignore it.  */
--  if (auxent->u.auxent.x_sym.x_tagndx.l > 0)
-+  if ((unsigned long) auxent->u.auxent.x_sym.x_tagndx.l
-+  < obj_raw_syment_count (abfd))
- {
-   auxent->u.auxent.x_sym.x_tagndx.p =
-   table_base + auxent->u.auxent.x_sym.x_tagndx.l;
--- 
-2.16.2
-

Copied: 
binutils/repos/testing-x86_64/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
 (from rev 321517, 
binutils/trunk/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch)
===
--- 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   
(rev 0)
+++ 0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch   2018-04-10 
21:55:26 UTC (rev 321518)
@@ -0,0 +1,29 @@
+From eb77f6a4621795367a39cdd30957903af9dbb815 Mon Sep 17 00:00:00 2001
+From: Alan Modra 
+Date: Sat, 27 Jan 2018 08:19:33 +1030
+Subject: [PATCH] PR22741, objcopy segfault on fuzzed COFF object
+
+   PR 22741
+   * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
+   range before converting to a symbol table pointer.
+---
+ bfd/coffgen.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/bfd/coffgen.c b/bfd/coffgen.c
+index b2410873d0..4f90eaddd9 100644
+--- a/bfd/coffgen.c
 b/bfd/coffgen.c
+@@ -1555,7 +1555,8 @@ coff_pointerize_aux (bfd *abfd,
+ }
+   /* A negative tagndx is meaningless, but the SCO 3.2v4 cc can
+  generate one, so we must be careful to ignore it.  */
+-  if (auxent->u.auxent.x_sym.x_tagndx.l > 0)
++  if ((unsigned long) auxent->u.auxent.x_sym.x_tagndx.l
++  < obj_raw_syment_count (abfd))
+ {
+   auxent->u.auxent.x_sym.x_tagndx.p =
+   table_base + auxent->u.auxent.x_sym.x_tagndx.l;
+-- 
+2.16.2
+

Deleted: 0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
===
--- 0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch 
2018-04-10 21:55:03 UTC (rev 321517)
+++ 0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch 
2018-04-10 21:55:26 UTC (rev 321518)
@@ -1,145 +0,0 @@
-From 3b56a1358768563d9cf320559ebdedfb30f122dd Mon Sep 17 00:00:00 2001
-From: Alan Modra 
-Date: Mon, 12 Feb 2018 13:06:07 +1030
-Subject: [PATCH] PR22829, objcopy/strip removes PT_GNU_RELRO from lld binaries
-
-lld lays out the relro segment differently to GNU ld, not bothering to
-include the first few bytes of .got.plt and padding out to a page at
-the end of the segment.  This patch teaches binutils to recognize the

[arch-commits] Commit in binutils/repos/testing-x86_64 (PKGBUILD)

2012-10-27 Thread Allan McRae
Date: Saturday, October 27, 2012 @ 02:52:55
  Author: allan
Revision: 169722

bz2 removed from upstream server...

Modified:
  binutils/repos/testing-x86_64/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-10-27 06:52:29 UTC (rev 169721)
+++ PKGBUILD2012-10-27 06:52:55 UTC (rev 169722)
@@ -15,9 +15,9 @@
 checkdepends=('dejagnu' 'bc')
 options=('!libtool' '!distcc' '!ccache')
 install=binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig})
-md5sums=('6e6c85eb4468501051ae209c9e2a7ecc'
- '46ca898c6c7ab8f35c676a965c7ce804')
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz{,.sig})
+md5sums=('ed58f50d8920c3f1d9cb110d5c972c27'
+ '5293d43d444852f71f7c96c6295ba66d')
 
 build() {
   cd ${srcdir}



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-06-27 Thread Allan McRae
Date: Monday, June 27, 2011 @ 07:07:40
  Author: allan
Revision: 129400

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-06-07 Thread Allan McRae
Date: Tuesday, June 7, 2011 @ 03:38:05
  Author: allan
Revision: 126775

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-06-07 Thread Allan McRae
Date: Tuesday, June 7, 2011 @ 06:47:02
  Author: allan
Revision: 126792

archrelease: remove testing-x86_64

Deleted:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-06-07 Thread Allan McRae
Date: Tuesday, June 7, 2011 @ 06:47:37
  Author: allan
Revision: 126793

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-05-11 Thread Allan McRae
Date: Wednesday, May 11, 2011 @ 06:42:37
  Author: allan
Revision: 123426

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-04-30 Thread Allan McRae
Date: Saturday, April 30, 2011 @ 04:23:16
  Author: allan
Revision: 121292

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-03-27 Thread Allan McRae
Date: Sunday, March 27, 2011 @ 02:09:29
  Author: allan
Revision: 116979

archrelease: remove testing-x86_64

Deleted:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-03-27 Thread Allan McRae
Date: Sunday, March 27, 2011 @ 02:09:58
  Author: allan
Revision: 116980

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-03-12 Thread Allan McRae
Date: Saturday, March 12, 2011 @ 05:28:24
  Author: allan
Revision: 114314

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-02-09 Thread Allan McRae
Date: Wednesday, February 9, 2011 @ 03:58:30
  Author: allan
Revision: 109380

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2011-01-18 Thread Allan McRae
Date: Tuesday, January 18, 2011 @ 19:44:31
  Author: allan
Revision: 106769

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2010-12-17 Thread Allan McRae
Date: Friday, December 17, 2010 @ 21:05:16
  Author: allan
Revision: 103334

archrelease: remove testing-x86_64

Deleted:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2010-12-17 Thread Allan McRae
Date: Friday, December 17, 2010 @ 21:05:45
  Author: allan
Revision: 103335

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2010-10-06 Thread Allan McRae
Date: Wednesday, October 6, 2010 @ 23:18:04
  Author: allan
Revision: 94404

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2010-05-22 Thread Allan McRae
Date: Saturday, May 22, 2010 @ 04:07:34
  Author: allan
Revision: 80786

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2010-04-16 Thread Allan McRae
Date: Friday, April 16, 2010 @ 08:00:15
  Author: allan
Revision: 77604

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2010-03-18 Thread Allan McRae
Date: Thursday, March 18, 2010 @ 23:20:50
  Author: allan
Revision: 72657

archrelease: copy trunk to testing-x86_64

Added:
  binutils/repos/testing-x86_64/



[arch-commits] Commit in binutils/repos (testing-x86_64)

2009-12-12 Thread Allan McRae
Date: Saturday, December 12, 2009 @ 03:28:11
  Author: allan
Revision: 61117

Initialized merge tracking via svnmerge with revisions 1-61115 from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/binutils/trunk

Modified:
  binutils/repos/testing-x86_64/(properties)


Property changes on: binutils/repos/testing-x86_64
___
Added: svnmerge-integrated
   + /binutils/trunk:1-61115



[arch-commits] Commit in binutils/repos (testing-x86_64)

2009-11-01 Thread Allan McRae
Date: Sunday, November 1, 2009 @ 06:36:22
  Author: allan
Revision: 57661

archrelease: new repo testing-x86_64

Added:
  binutils/repos/testing-x86_64/