mingw-binutils/binutils-gold-empty-dwp.patch
Miroslav Rezanina 771b8e2add Rebase to Fedora Rawhide (For RHEL 9.6)
Update to 2.43.1

last_sync: 562dcf0c885672abfa931178a3ffb8215cacaa29
resolves: RHEL-73309
side-tag: c9s-build-side-3708-stack-gate
2025-01-10 08:46:16 +01:00

12 lines
433 B
Diff

--- binutils.orig/gold/dwp.cc 2023-05-02 13:26:44.075148082 +0100
+++ binutils-2.40/gold/dwp.cc 2023-05-02 13:27:16.189130127 +0100
@@ -2418,6 +2418,8 @@ main(int argc, char** argv)
{
Dwo_file exe_file(exe_filename);
exe_file.read_executable(&files);
+ if (files.empty())
+ gold_fatal(_("Could not find any dwo links in specified EXE"));
}
// Add any additional files listed on command line.