pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
binutils-gold-git: Include local patch for elflink.c
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Mon Oct 30 01:29:36 2017 +0100
Changeset: 0b8e9acc16eae61fb92d190b3457c192dba21f0c
Added Files:
binutils-gold-git/patches/patch-bfd_elflink.c
Log Message:
binutils-gold-git: Include local patch for elflink.c
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0b8e9acc16eae61fb92d190b3457c192dba21f0c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
binutils-gold-git/patches/patch-bfd_elflink.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diffs:
diff --git a/binutils-gold-git/patches/patch-bfd_elflink.c b/binutils-gold-git/patches/patch-bfd_elflink.c
new file mode 100644
index 0000000000..86efc43e79
--- /dev/null
+++ b/binutils-gold-git/patches/patch-bfd_elflink.c
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- bfd/elflink.c.orig 2017-10-29 23:10:16.380166403 +0000
++++ bfd/elflink.c
+@@ -5337,7 +5337,7 @@ _bfd_elf_archive_symbol_lookup (bfd *abf
+ len = strlen (name);
+ copy = (char *) bfd_alloc (abfd, len);
+ if (copy == NULL)
+- return (struct elf_link_hash_entry *) 0 - 1;
++ return (struct elf_link_hash_entry *) -1;
+
+ first = p - name + 1;
+ memcpy (copy, name, first);
+@@ -5435,7 +5435,7 @@ elf_link_add_archive_symbols (bfd *abfd,
+ }
+
+ h = archive_symbol_lookup (abfd, info, symdef->name);
+- if (h == (struct elf_link_hash_entry *) 0 - 1)
++ if (h == (struct elf_link_hash_entry *) -1)
+ goto error_return;
+
+ if (h == NULL)
Home |
Main Index |
Thread Index |
Old Index