pkgsrc/devel/binutils/patches/patch-bfd_elf32-arm.c
ryoon 1b809da856 Update to 2.26
Changelog:
Changes in 2.26:

* Add option to objcopy to insert new symbols into a file:
  --add-symbol <name>=[<section>:]<value>[,<flags>]

* Add support for the ARC EM/HS, and ARC600/700 architectures.

* Extend objcopy --compress-debug-sections option to support
  --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
  targets.

* Add --update-section option to objcopy.

* Add --output-separator option to strings.
2016-01-30 22:15:11 +00:00

22 lines
474 B
C

$NetBSD: patch-bfd_elf32-arm.c,v 1.1 2016/01/30 22:15:11 ryoon Exp $
Resolve popcount(3) conflict on NetBSD
--- bfd/elf32-arm.c.orig 2016-01-25 08:51:06.000000000 +0000
+++ bfd/elf32-arm.c
@@ -3133,6 +3133,7 @@ ctz (unsigned int mask)
#endif
}
+#if !defined(__NetBSD__)
static inline int
popcount (unsigned int mask)
{
@@ -3150,6 +3151,7 @@ popcount (unsigned int mask)
return sum;
#endif
}
+#endif
/* Create an entry in an ARM ELF linker hash table. */