[Bug ld/11539] ld --gc-sections should work for PE-COFF on MinGW

2024-03-05 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=11539

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug ld/31444] _bfd_abort doesn't work when called from bfd_check_format_matches

2024-03-05 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31444

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
   Target Milestone|--- |2.43
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
 Resolution|--- |FIXED

--- Comment #2 from Alan Modra  ---
Fixed

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


[Bug ld/31444] _bfd_abort doesn't work when called from bfd_check_format_matches

2024-03-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31444

--- Comment #1 from Sourceware Commits  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=55e01dbd7623941373ee500032119a124fd2d673

commit 55e01dbd7623941373ee500032119a124fd2d673
Author: Alan Modra 
Date:   Tue Mar 5 14:33:40 2024 +1030

Don't use bfd_error_handler in bfd_abort

We don't want to lose an abort message when bfd_set_error_handler has
been called to ignore or cache errors.

PR ld/31444
* bfd.c (_bfd_abort): Don't use _bfd_error_handler.

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


[Bug gold/31320] binutils-2.42 build failure on macos - error: 'uchar.h' file not found

2024-03-05 Thread bryanhundven at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31320

--- Comment #4 from Bryan Hundven  ---
My previous patch did not work. This one does:

```
diff --git a/gold/output.cc b/gold/output.cc
index ead67f20..2dbaa2ee 100644
--- a/gold/output.cc
+++ b/gold/output.cc
@@ -29,7 +29,9 @@
 #include 
 #include 
 #include 
+#if !defined(__APPLE__)
 #include 
+#endif

 #ifdef HAVE_SYS_MMAN_H
 #include 
diff --git a/gold/stringpool.cc b/gold/stringpool.cc
index d8f38cfa..eca59bad 100644
--- a/gold/stringpool.cc
+++ b/gold/stringpool.cc
@@ -25,7 +25,9 @@
 #include 
 #include 
 #include 
+#if !defined(__APPLE__)
 #include 
+#endif

 #include "output.h"
 #include "parameters.h"
```

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