This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
fix netbsd build
- From: Pedro Alves <pedro at codesourcery dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 1 Sep 2010 14:58:08 +0100
- Subject: fix netbsd build
It was brought to my attention that the build is broken on netbsd 5.1
due to my recent bfd_core_file_pid change.
I've applied the obvious patch below to fix it.
--
Pedro Alves
2010-09-01 Pedro Alves <pedro@codesourcery.com>
* netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...
(netbsd_core_file_pid): ... this.
---
bfd/netbsd-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: src/bfd/netbsd-core.c
===================================================================
--- src.orig/bfd/netbsd-core.c 2010-08-18 15:07:25.000000000 +0100
+++ src/bfd/netbsd-core.c 2010-09-01 14:41:37.000000000 +0100
@@ -44,7 +44,7 @@
#define SPARC64_WCOOKIE_OFFSET 832
#define netbsd_core_file_matches_executable_p generic_core_file_matches_executable_p
-#define netbsd_core_core_file_pid _bfd_nocore_core_file_pid
+#define netbsd_core_file_pid _bfd_nocore_core_file_pid
struct netbsd_core_struct
{