summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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