Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-30 08:55:50 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-06-30 08:55:50 +0200
commitda62de1e9af89d8c5741a0f6aa7db9c43b0e2d4a (patch)
treea93ab0916e7cffc02ffb069a3666a4b07a44fc53 /build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch
parent52316607db82de95bc64bd76f4c1482425dd53ee (diff)
reverted (broken get-updates?)
Diffstat (limited to 'build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch')
-rw-r--r--build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch b/build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch
deleted file mode 100644
index 485c1932..00000000
--- a/build-support/mingw-w32-binutils/99852365513266afdd793289813e8e565186c9e6.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 99852365513266afdd793289813e8e565186c9e6 Mon Sep 17 00:00:00 2001
-From: Nick Clifton <nickc@redhat.com>
-Date: Wed, 23 Mar 2022 11:39:49 +0000
-Subject: [PATCH] dlltool: Use the output name as basis for deterministic temp
- prefixes
-
- PR 28885
- * dlltool.c (main): use imp_name rather than dll_name when
- generating a temporary file name.
----
- binutils/ChangeLog | 9 +++++++++
- binutils/dlltool.c | 7 ++++---
- 2 files changed, 13 insertions(+), 3 deletions(-)
-
-diff --git a/binutils/dlltool.c b/binutils/dlltool.c
-index d95bf3f5470..89871510b45 100644
---- a/binutils/dlltool.c
-+++ b/binutils/dlltool.c
-@@ -3992,10 +3992,11 @@ main (int ac, char **av)
- if (tmp_prefix == NULL)
- {
- /* If possible use a deterministic prefix. */
-- if (dll_name)
-+ if (imp_name || delayimp_name)
- {
-- tmp_prefix = xmalloc (strlen (dll_name) + 2);
-- sprintf (tmp_prefix, "%s_", dll_name);
-+ const char *input = imp_name ? imp_name : delayimp_name;
-+ tmp_prefix = xmalloc (strlen (input) + 2);
-+ sprintf (tmp_prefix, "%s_", input);
- for (i = 0; tmp_prefix[i]; i++)
- if (!ISALNUM (tmp_prefix[i]))
- tmp_prefix[i] = '_';
---
-2.31.1
-