Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/bfd Fix problem which prevents c...
details: https://anonhg.NetBSD.org/src/rev/07716bda0707
branches: trunk
changeset: 349989:07716bda0707
user: buhrow <buhrow%NetBSD.org@localhost>
date: Fri Dec 30 22:40:23 2016 +0000
description:
Fix problem which prevents cross building on NetBSD systems which predate
NetBSD-6 or non-NetBSD systems. See discussion on port-arm for details.
diffstat:
external/gpl3/binutils/dist/bfd/elf32-arm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 8fd529cc1fe5 -r 07716bda0707 external/gpl3/binutils/dist/bfd/elf32-arm.c
--- a/external/gpl3/binutils/dist/bfd/elf32-arm.c Fri Dec 30 22:38:38 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-arm.c Fri Dec 30 22:40:23 2016 +0000
@@ -3207,8 +3207,8 @@
#endif
}
-#ifndef __NetBSD__
-static inline int
+#if !defined (__NetBSD__) || (__NetBSD_Version__ < 600000000)
+unsigned int
popcount (unsigned int mask)
{
#if GCC_VERSION >= 3004
Home |
Main Index |
Thread Index |
Old Index