diff options
author | midipix <writeonce@midipix.org> | 2019-08-18 10:03:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-18 11:43:27 +0000 |
commit | 9368a709b65da26631e1493a255eb31acaf3646c (patch) | |
tree | ecbd536d44613c591801cd96861410fadf47db28 | |
parent | 8fb8b35552738814a6bd10a9c1c2a0d3b3e2dc0f (diff) | |
download | chainport-9368a709b65da26631e1493a255eb31acaf3646c.tar.bz2 chainport-9368a709b65da26631e1493a255eb31acaf3646c.tar.xz |
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.
-rw-r--r-- | binutils-2.24.51.midipix.patch | 22 |
1 files changed, 0 insertions, 22 deletions
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 |