summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-17 12:34:45 +0000
committermidipix <writeonce@midipix.org>2019-08-17 12:34:45 +0000
commit6cb2f4e49bc871ff4cfdfb29cd8bb660bfa3e0f9 (patch)
treef2c4dbeabd58c4f90de1de044933e5ea30283a9f
parent4cda3b0874802972d4f07e7a58fb036a8f683051 (diff)
downloadchainport-6cb2f4e49bc871ff4cfdfb29cd8bb660bfa3e0f9.tar.bz2
chainport-6cb2f4e49bc871ff4cfdfb29cd8bb660bfa3e0f9.tar.xz
binutils-2.24.51: mdso targets: refined pe_mdso_input_name() integration.
-rw-r--r--binutils-2.24.51.midipix.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils-2.24.51.midipix.patch b/binutils-2.24.51.midipix.patch
index bde9234..5a2f0f4 100644
--- a/binutils-2.24.51.midipix.patch
+++ b/binutils-2.24.51.midipix.patch
@@ -260,13 +260,15 @@ diff -ru --new-file a/bfd/pe-mdso.h b/bfd/pe-mdso.h
diff -ru --new-file a/ld/ldlang.c b/ld/ldlang.c
--- a/ld/ldlang.c 2014-07-03 01:37:48.000000000 -0400
+++ b/ld/ldlang.c 2019-08-16 12:31:17.048504021 -0400
-@@ -1117,6 +1117,16 @@
+@@ -1117,6 +1117,18 @@
lang_input_file_enum_type file_type,
const char *target)
{
+#ifdef PE_TARGET_MDSO
+ if (file_type == lang_input_file_is_marker_enum) {
+ (void)0;
++ } else if (file_type == lang_input_file_is_fake_enum) {
++ (void)0;
+ } else if (file_type == lang_input_file_is_l_enum) {
+ (void)0;
+ } else if (!(name = pe_mdso_input_name(name))) {