bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30655] [2.41 Regression] patch introducing remap-inputs causes b


From: dannf at dannf dot org
Subject: [Bug ld/30655] [2.41 Regression] patch introducing remap-inputs causes build failure in edk2
Date: Wed, 19 Jul 2023 20:40:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30655

--- Comment #1 from dann frazier <dannf at dannf dot org> ---
fwiw, this seems to resolve the issue for me. It isn't clear from the context
why this new feature introduced a return here.

diff --git a/ld/ldlang.c b/ld/ldlang.c
index 4b86c164843..d5a94d47e4b 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -1137,8 +1137,6 @@ new_afile (const char *name,
   lang_has_input_file = true;

   name = ldfile_possibly_remap_input (name);
-  if (name == NULL)
-    return NULL;

   p = new_stat (lang_input_statement, stat_ptr);
   memset (&p->the_bfd, 0,

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]