summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-05-08 22:13:32 +0300
committerIgor Pashev <pashev.igor@gmail.com>2016-05-08 22:13:32 +0300
commit0f741cbb9b45814df50e3f8c7d0ac1cc04a74d79 (patch)
tree77a9bf478443ce9fcdc9836476acc32cf4b8cd5b /debian
parent6c8f616fbb9c42e27f82ae09a7ee11898d3b3d12 (diff)
downloadbinutils-0f741cbb9b45814df50e3f8c7d0ac1cc04a74d79.tar.gz
Added dyson-pr12548-anonymous-version-tag.patch
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/dyson-pr12548-anonymous-version-tag.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/dyson-pr12548-anonymous-version-tag.patch b/debian/patches/dyson-pr12548-anonymous-version-tag.patch
new file mode 100644
index 0000000..1ccbcff
--- /dev/null
+++ b/debian/patches/dyson-pr12548-anonymous-version-tag.patch
@@ -0,0 +1,19 @@
+Description: anonymous version tag mapped to base version
+Bug: http://sourceware.org/bugzilla/show_bug.cgi?id=12548
+Index: binutils-2.26/ld/ldlang.c
+===================================================================
+--- binutils-2.26.orig/ld/ldlang.c
++++ binutils-2.26/ld/ldlang.c
+@@ -7947,9 +7947,9 @@ lang_register_vers_node (const char *nam
+ if (link_info.version_info != NULL
+ && (name[0] == '\0' || link_info.version_info->name[0] == '\0'))
+ {
+- einfo (_("%X%P: anonymous version tag cannot be combined"
+- " with other version tags\n"));
+- free (version);
++ version->deps = NULL;
++ version->name = "";
++ version->vernum = 0;
+ return;
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index f37549a..dd54571 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -31,4 +31,5 @@ release-build.diff
dyson-biarch.patch
dyson-pr14493-sol2.patch
dyson-ld_altexec.patch
+dyson-pr12548-anonymous-version-tag.patch