From 6cb2f4e49bc871ff4cfdfb29cd8bb660bfa3e0f9 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 17 Aug 2019 12:34:45 +0000 Subject: binutils-2.24.51: mdso targets: refined pe_mdso_input_name() integration. --- binutils-2.24.51.midipix.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))) { -- cgit v1.2.3