Subject: [alpine-aports] [PATCH 1/3] community/binutils-avr: Update to version 2.30

From: Marian Buschsieweke <[email-masked]>
Date: Wed, 4 Jul 2018 16:03:37 +0200

---
 community/binutils-avr/APKBUILD             | 10 +++----
 community/binutils-avr/hash-style-gnu.patch | 31 ---------------------
 2 files changed, 4 insertions(+), 37 deletions(-)
 delete mode 100644 community/binutils-avr/hash-style-gnu.patch

diff --git a/community/binutils-avr/APKBUILD b/community/binutils-avr/APKBUILD
index d337b388dc..d1fbf8ddac 100644
--- a/community/binutils-avr/APKBUILD
+++ b/community/binutils-avr/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Stefan Wagner <[email-masked]>
 # Maintainer: Stefan Wagner <[email-masked]>
 pkgname=binutils-avr
-pkgver=2.28
+pkgver=2.30
 pkgrel=0
 pkgdesc="Tools necessary to build programs for AVR targets"
 url="https://www.gnu.org/software/binutils/"
@@ -10,8 +10,7 @@ arch="all"
 license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
 subpackages="$pkgname-doc"
 source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
-	binutils-ld-fix-static-linking.patch
-	hash-style-gnu.patch"
+	binutils-ld-fix-static-linking.patch"
 
 builddir="$srcdir/binutils-$pkgver"
 _workingdir="$srcdir/binutils-build"
@@ -43,6 +42,5 @@ package() {
 	done
 }
 
-sha512sums="ede2e4e59a800260eea8c14eafbaee94e30abadafd5c419a3370f9f62213cf027d6400a1d4970b6958bd4d220e675dcd483a708107016e7abd5c99d7392ba8fd  binutils-2.28.tar.bz2
-ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49  binutils-ld-fix-static-linking.patch
-24e853bf4b58621a77921087e599da2ace47ba3079e2d50fb5d08ae399be5f060c5fdd7f65257bcc0526aebc66e68b98aafd45d714c035da8ea2bdc3d8d4e375  hash-style-gnu.patch"
+sha512sums="c3ce91aa20f058ec589bf18c722bf651331b394db6378900cc813cc0eea3a331a96584d5ae090630b627369510397dccc9edfcd43d4aeefc99579f277a05c72c  binutils-2.30.tar.bz2
+ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49  binutils-ld-fix-static-linking.patch"
diff --git a/community/binutils-avr/hash-style-gnu.patch b/community/binutils-avr/hash-style-gnu.patch
deleted file mode 100644
index 2e6c01972e..0000000000
--- a/community/binutils-avr/hash-style-gnu.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-# DP: Default to --hash-style=gnu in ld.bfd and ld.gold.
-
---- a/ld/ldmain.c
-+++ b/ld/ldmain.c
-@@ -287,6 +288,15 @@
-   emulation = get_emulation (argc, argv);
-   ldemul_choose_mode (emulation);
-   default_target = ldemul_choose_target (argc, argv);
-+
-+  /* Default to --hash-style=gnu */
-+  if (strcmp (default_target, "elf32-tradbigmips") != 0
-+      && strcmp (default_target, "elf32-tradlittlemips") != 0)
-+    {
-+      link_info.emit_gnu_hash = TRUE;
-+      link_info.emit_hash = FALSE;
-+    }
-+
-   config.maxpagesize = bfd_emul_get_maxpagesize (default_target);
-   config.commonpagesize = bfd_emul_get_commonpagesize (default_target);
-   lang_init ();
---- a/gold/options.h
-+++ b/gold/options.h
-@@ -794,7 +794,7 @@
- 		N_("Min fraction of empty buckets in dynamic hash"),
- 		N_("FRACTION"));
- 
--  DEFINE_enum(hash_style, options::TWO_DASHES, '\0', "sysv",
-+  DEFINE_enum(hash_style, options::TWO_DASHES, '\0', "gnu",
- 	      N_("Dynamic hash style"), N_("[sysv,gnu,both]"),
- 	      {"sysv", "gnu", "both"});
- 
-- 
2.18.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---