From 9368a709b65da26631e1493a255eb31acaf3646c Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 18 Aug 2019 10:03:25 +0000 Subject: binutils-2.24.51: lang_add_input_file(): remove mdso bits (no longer needed). Following the previous commit (8fb8b35552738814a6bd10a9c1c2a0d3b3e2dc0f), and since all "real" input arguments are later funneled through ldfile_try_open_bfd(), performing the name-substitution during the input statement list construction phase is no longer necessary. --- binutils-2.24.51.midipix.patch | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'binutils-2.24.51.midipix.patch') diff --git a/binutils-2.24.51.midipix.patch b/binutils-2.24.51.midipix.patch index 08d7aa9..928e059 100644 --- a/binutils-2.24.51.midipix.patch +++ b/binutils-2.24.51.midipix.patch @@ -277,28 +277,6 @@ diff --ru --new-file a/ld/ldfile.c b/ld/ldfile.c entry->the_bfd = bfd_openr (attempt, entry->target); if (verbose) -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,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))) { -+ fprintf(stderr,"%s: pe_mdso_input_name() returned an error.\n",program_name); -+ xexit(EXIT_FAILURE); -+ } -+#endif - return new_afile (name, file_type, target, TRUE); - } - diff -ru --new-file a/ld/configure b/ld/configure --- a/ld/configure 2014-07-03 01:37:48.000000000 -0400 +++ b/ld/configure 2015-03-11 20:01:08.888756786 -0400 -- cgit v1.2.3